The GLG Toolkit provides a 100% pure Java class library that allows the user to load, display and animate GLG drawings in a Java application. A GLG drawing can be created in the GLG Graphics Builder or programmatically. It may contain predefined GLG components from the GLG Widgets catalog, such as graphs, gauges, meters, or custom graphics created by the user. A GLG Java application can be written as a stand-alone Java program or as an applet. To display GLG graphics, an application creates a GLG bean that can be used either as a top level applet or as a Java bean inside another Java component.

Examples of using the GLG bean in both cases appear later in this tutorial, as well as in the examples directory /examples_java. The GLG Toolkit for Java supports Java1 (AWT-based components), Java2 (Swing-based components) and Java2D.

Download PDF for GLG Programming Tutorial for Java GLG Toolkit Version 2.9