Is there a way to detect if Java FX is using hardware acceleration?

hardware-acceleration, java, javafx-2

Solution

Just found out:

You can run with `-Dprism.verbose=true` which will print what graphics pipeline it uses. "sw" or "j2d" for software and "d3d" or "es2" for hardware accelerated.

Problem

And related to that, is there a way to force Java FX to use hardware acceleration and bomb if it is unable to?

Original source