PDA

View Full Version : How to insert GLAnimJPanel in a JPanel in Java



Mat
06-24-2002, 04:33 AM
Hi,

I try to insert an GLAnimJPanel in a Java JPanel but without any success.. I tried some examples but I can't understand how the size of the GLAnimJPanel is set up..

Everytime I just have a small graphic of 10*10

Could anybody help me..
Thanks
Mat

Mazy
06-24-2002, 06:10 AM
That usually depends on what kind of layout you have on the first panel.. what do you use? a border layout, and put the animpanel in the center should fill the area

Mat
06-24-2002, 06:22 AM
Thanks

I did not pay attention at that you were right. It is a simple problem of layout..

Mat