Skip to content
Graphics2D wrapper for JOGL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


GLG2D is an effort to translate Graphics2D calls directly into OpenGL calls
and accelerate the Java2D drawing functionality.  The existing OpenGL pipeline
in the Oracle JVM is minimal at best and doesn't use higher-level OpenGL
primitives, like GL_POLYGON and GLU tesselation that make drawing in OpenGL so

Find more information on

Use cases:
 * use as a drop-in replacement for a JPanel and all Swing children will be
 * draw Swing components in an GLCanvas in your existing application

This library is licensed under the Apache 2.0 license and JOGL is licensed and
distributed separately.

How to build

This project uses maven, run mvn package to build the jar in the ./target/ dir
or add the following to your pom.xml

Make sure you also add the GLG2D repository at

You can’t perform that action at this time.