Yes? No? Maybe?

Started by Unknown, September 07, 2005, 05:52:18

Previous topic - Next topic

Unknown

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...

Matzon

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.

Unknown