Results 1 to 3 of 3
Thread: JLabel GLCanvas
- 07-11-2010, 11:18 AM #1
Member
- Join Date
- Jul 2010
- Posts
- 7
- Rep Power
- 0
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
- 07-11-2010, 11:36 AM #2
Senior Member
- Join Date
- Dec 2008
- Posts
- 526
- Rep Power
- 0
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 :)
- 07-11-2010, 11:46 AM #3
Member
- Join Date
- Jul 2010
- Posts
- 7
- Rep Power
- 0
Similar Threads
-
Adding a JLabel to a JPanel - jlabel not showing
By Bongeh in forum New To JavaReplies: 17Last Post: 04-06-2010, 11:02 PM -
jLabel
By Matty in forum AWT / SwingReplies: 3Last Post: 09-22-2008, 10:22 PM -
GUI - JLabel
By Azndaddy in forum New To JavaReplies: 8Last Post: 05-02-2008, 07:03 AM -
JLabel
By Jack in forum AWT / SwingReplies: 2Last Post: 07-02-2007, 01:55 PM -
JLabel
By Freddie in forum AWT / SwingReplies: 2Last Post: 05-29-2007, 02:19 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks