Results 1 to 3 of 3

Thread: JLabel GLCanvas

  1. #1
    jitheshmenon is offline Member
    Join Date
    Jul 2010
    Posts
    7
    Rep Power
    0

    Default JLabel GLCanvas

    Hi All,

    I am a beginner in using java awt and swing etc...
    I would like to create a GUI application which has two windows for display...

    In one I would like to add a GLCanvas which shows JOGL(java opengl) rendered images..
    In the other I would like to show images which I retrieve from another server in a JLabel...

    Can this be done..??


    Sorry if i have used some terms wrong...
    Thanks in advance
    Jith

  2. #2
    Webuser is offline Senior Member
    Join Date
    Dec 2008
    Posts
    526
    Rep Power
    0

    Lightbulb

    Wellcome :)

    Sure you can! Just create two JFrame objects. But JFrame.EXIT_ON_CLOSE will close both windows so you have to program the closing strategy more careful :)

    And still I would recommend using JSplitPane instead ;)

    How to Use Split Panes (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
    If my answer helped you. Please click my "REP" button and add a comment
    Have a Good Java Coding :)

  3. #3
    jitheshmenon is offline Member
    Join Date
    Jul 2010
    Posts
    7
    Rep Power
    0

Similar Threads

  1. Adding a JLabel to a JPanel - jlabel not showing
    By Bongeh in forum New To Java
    Replies: 17
    Last Post: 04-06-2010, 11:02 PM
  2. jLabel
    By Matty in forum AWT / Swing
    Replies: 3
    Last Post: 09-22-2008, 10:22 PM
  3. GUI - JLabel
    By Azndaddy in forum New To Java
    Replies: 8
    Last Post: 05-02-2008, 07:03 AM
  4. JLabel
    By Jack in forum AWT / Swing
    Replies: 2
    Last Post: 07-02-2007, 01:55 PM
  5. JLabel
    By Freddie in forum AWT / Swing
    Replies: 2
    Last Post: 05-29-2007, 02:19 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
  •