Results 1 to 3 of 3

Thread: How to insert GLAnimJPanel in a JPanel in Java

  1. #1
    Member Contributor
    Join Date
    Apr 2002
    Posts
    52

    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

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Oct 2001
    Posts
    595

    Re: How to insert GLAnimJPanel in a JPanel in Java

    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

  3. #3
    Member Contributor
    Join Date
    Apr 2002
    Posts
    52

    Re: How to insert GLAnimJPanel in a JPanel in Java

    Thanks

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

    Mat

Similar Threads

  1. How to insert 2 textures in one polygon
    By ilyes12 in forum COLLADA
    Replies: 0
    Last Post: 09-18-2013, 09:56 AM
  2. I want to insert a ball in polygon
    By Dathu in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 04-09-2008, 02:59 AM
  3. Refresh GLAnimJPanel
    By Mat in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 06-25-2002, 07:13 AM
  4. Difference between GLAnimCanvas and GLAnimJPanel
    By Mat in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 06-24-2002, 08:30 AM
  5. Insert Text
    By Mat in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 05-16-2002, 03:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean