J2SE 5.0 includes a new OpenGL-based pipeline for Java 2D. This pipeline provides hardware acceleration for simple rendering operations (text, images, lines, and filled primitives) as well as those that involve complex transforms, paints, composites, and clips. This pipeline is available on all platforms (Solaris, Linux, and Microsoft Windows) and is currently disabled by default.
Cool!
To silently enable the OpenGL-based pipeline, specify the following system property on the command line: -Dsun.java2d.opengl=true To receive verbose console output about whether the OpenGL-based pipeline is initialized successfully for a particular screen, specify "True" (note the uppercase T) : -Dsun.java2d.opengl=True
Hu!?! On what planet is that a good idea? Is there precedent for this? As someone said at work today – perhaps in JDK 1.5 “tRue” will be another option, and to turn them both on: “TRue” (!?!)