LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: shultays on January 13, 2010, 18:35:20

Title: swing & lwjgl?
Post by: shultays on January 13, 2010, 18:35:20
is it possible to use swing componenets with lwjgl? for example a JLabel that shows fps?

I tried to add a JLabel but I guess lwjgl draws on JLabel and it gets erased.

or maybe is it possible to draw swing onto a canvas?
Title: Re: swing & lwjgl?
Post by: kappa on January 13, 2010, 19:03:54
one thing you could use instead of Swing, is the PureSwing library, it same as swing just that you'll be able to use it within opengl http://pureswing.advel.cz/

another option is just use the twl gui http://twl.l33tlabs.org/

you might want to join #lwjgl on irc.freenode.net (on IRC) to speak to the authors of those libraries for more help.
Title: Re: swing & lwjgl?
Post by: shultays on January 14, 2010, 00:36:09
thanks, I will check them