How to insert GLAnimJPanel in a JPanel in Java

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

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

Thanks

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

Mat