Is this your first time here? SwingWiki is a Java Swing Developer community site with an big archive of Swing-related usenet groups and mailing lists, but also tips, tricks and articles and book reviews written by your colleagues from around the world. If you came here through a search engine and did not find what you were looking for, make sure to check the wiki table of contents.

Use OpenGL

Since Java 5, Java graphics APIs support OpenGL acceleration, but they are disabled by default. To enable them, set property sun.java2d.opengl to True. For example:

   java -Dsun.java2d.opengl=True -jar Java2Demo.jar

Detailed introduction to Java 5 OpenGL features can be found in the article Behind the Graphics2D: The OpenGL-based Pipeline on

Java OpenGL Bindings

Java 3D Open GL Bindings are being developed as a separate project, JOGL:


Comments? Corrections? Contact us or Login to edit pages directly (registration is free and takes less than displaying a JLabel)
  howto/use_opengl.txt · Last modified: 2006/04/30 08:42 by (gojko)
Recent changes | RSS changes | Table of contents | News Archive | Terms And Conditions | Register | The Quest For Software++| Ruby Resources

Sedo - Buy and Sell Domain Names and Websites project info: Statistics for project etracker� web controlling instead of log file analysis