From: <NM...@th...> - 2001-11-08 15:34:46
|
There is GLJPanel. If you are worried about performace there are issues though. Basically, java lightweight components go through the JavaVM to be drawn to the screen while old AWT components, i.e. the Canvas, get drawn to the screen directly. If you need no frame rate or a very low frame rate the JPanel will work. If you have a larger drawing surface and/or a need for a higher frame rate, for example if you are building a game, you NEED to use Canvas. Hope that helps. Noah Michael Lidgren <Michael.Lidgren@journalistgruppen. To: "'gl4...@li...'" se> <gl4...@li...> Sent by: cc: gl4...@li...urc Subject: [gl4java-usergroup] newbie question: GLCanvas eforge.net 11/08/2001 04:52 AM Hi! I read somewhere deriving from GLCanvas was the "old way" of doing things. Is there a "new way", and if so, which of the two gives the best performance? TIA, --Michael Lidgren _______________________________________________ gl4java-usergroup mailing list gl4...@li... https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup |