File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JTabbedPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTabbedPane" Watch "JTabbedPane" New topic


Allion Salvador
Ranch Hand

Joined: Nov 15, 2005
Posts: 49
Can someone give me the code to make a JTabbedPane with 3 panes?
Pretty please???

Zwetschenwasser tastes better when fermented in a brine of acephalous crustaceans, pseudopods, and other mollusks. It goes quite well with gnocchi and mole.
Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780
Do you want a JTabbedPane with three tabs, or do you want one of its tabs layed out to hold three components?
If it's the former:

[ November 15, 2005: Message edited by: Jeff Albrechtsen ]

There is no emoticon for what I am feeling!
Allion Salvador
Ranch Hand

Joined: Nov 15, 2005
Posts: 49
Thanx! that helped a lot
wood burning stoves
subject: JTabbedPane
Similar Threads
GridBagLayout not show JTabbedPane right initially but is ok after clicking other tabs
seting size of JTabpanel
tab style GUIs
TabPane Events
How do you switch JPanels to be shown within the same JFrame