Results 1 to 8 of 8
- 10-25-2012, 07:59 PM #1
Member
- Join Date
- Oct 2012
- Posts
- 4
- Rep Power
- 0
- 10-25-2012, 08:08 PM #2
Re: Tabbed pane within JPanel or JFrame
What do you think the merits and demerits of doing so are?
I recommend you look into what's actually happening when you add a Component to a JFrame.How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
- 10-25-2012, 08:16 PM #3
Member
- Join Date
- Oct 2012
- Posts
- 4
- Rep Power
- 0
Re: Tabbed pane within JPanel or JFrame
I meant, is it mandatory to add a tabbed panel on to a Jpanel or I just can add it to JFrame ??
- 10-25-2012, 08:31 PM #4
Re: Tabbed pane within JPanel or JFrame
What happened when you tried each?
Again, I recommend you look into what's actually happening when you add a Component to a JFrame.How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
- 10-26-2012, 03:14 AM #5
Member
- Join Date
- Oct 2012
- Posts
- 4
- Rep Power
- 0
Re: Tabbed pane within JPanel or JFrame
I found that I need to add a scrollpane to add a Jtable...
- 10-26-2012, 04:04 AM #6
Re: Tabbed pane within JPanel or JFrame
I'm not sure what that has to do with your original problem, and it's not even true. You can have a JTable by itself, but a JScrollPane automatically handles the headers and scrolling for you, so it's usually a good idea.
Here, I'll give you a hint: a JFrame has a content pane. What is that? How does it work with adding components to a JFrame?How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
- 10-26-2012, 06:07 AM #7
Re: Tabbed pane within JPanel or JFrame
To add to Kevin's hint: look up the API for RootPaneContainer, and interface implemented by JFrame and other Swing top-level windows.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 10-26-2012, 08:56 AM #8
Member
- Join Date
- Oct 2012
- Posts
- 4
- Rep Power
- 0
Similar Threads
-
Tabbed pane problem
By franco in forum NetBeansReplies: 5Last Post: 10-23-2011, 08:38 PM -
Tabbed pane
By sonal12 in forum AWT / SwingReplies: 13Last Post: 09-15-2010, 12:22 AM -
tabbed Pane .
By programmer_007 in forum AWT / SwingReplies: 2Last Post: 09-03-2009, 08:52 PM -
JTree and Tabbed Pane
By paluee in forum AWT / SwingReplies: 1Last Post: 03-30-2009, 06:03 AM -
Tabbed pane using struts 2.x......?
By prabhurangan in forum Web FrameworksReplies: 1Last Post: 07-19-2008, 06:48 AM


2Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks