Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (120)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  GLCanvas inside Panel??  (Read 2807 times)
0 Members and 1 Guest are viewing this topic.
Offline chadseld

Junior Newbie




Java games rock!


« Posted 2003-07-07 20:44:02 »

Is it possible to make a GLCanvas live inside an awt Panel or swing JPanel? I am porting gl4java code which has a GLCanvas inside a JPanel. When I try to do the same with jogl, the GLCanvas takes up the entire Frame. I have found no way to limit the size of a GLCanvas to less than the entire Frame.

I am running jogl in Mac OS X Panther seed.

thanks,
Chad S
8: Undefined index: online
File: /home/jgo/public_html/Themes/default/Display.template.php (main sub template - eval?)
Line: 161