|
-
October 14th, 2010, 04:59 AM
#1
Some clarification about Swing
Hi all,
I am new to Swing and GUI generally, and need some clarifications.
I want to have a single GUI window which have several components (Still don't handle the semantics of GUI completely): Video player, log window, several buttons, etc.
After a lot of googling, I understood that I need to create a JFrame which is the root of that window and than a JPanel to insert to that frame, and finally insert all the components to that panel and not to that frame.
My question is why can't I insert components to a JFrame? Isn't it a little bit OH to have a panel in the middle?
Thanks
Guy
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|