LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Unknown on September 07, 2005, 05:52:18

Title: Yes? No? Maybe?
Post by: Unknown on September 07, 2005, 05:52:18
Is it possible to use LWJGL with AWT/SWING? I've heard many different opinions about this. I'm making a map editor for my game and I'd like to use Java's own UI thingies to make the editor's interface, but I need LWJGL to render the map graphics. Java 2D isn't my thing, really :D. Also, if this is possible, some sort of example would be nice...
Title: Yes? No? Maybe?
Post by: Matzon on September 07, 2005, 06:38:15
Yes it is possible to use it with AWT and Swing.
It is implemented in AWTGLCanvas, and the usual heavyweight issues apply.
Look in the source distribution under org.lwjgl.test.opengl.awt.* for examples.
Title: Yes? No? Maybe?
Post by: Unknown on September 07, 2005, 06:40:49
Thanks!  :D