This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JTabbed Pane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTabbed Pane" Watch "JTabbed Pane" New topic
Author

JTabbed Pane

Patrick Mugabe
Ranch Hand

Joined: Jan 08, 2002
Posts: 132
Can anyone recommend a book which has great detail on JTabbedPanes. I am working on a small project and I want to make use of Tabs
Chris Shepherd
Ranch Hand

Joined: Jun 27, 2000
Posts: 286
have you checked out the tutorial at Sun? They really do a pretty good job of explaining the basics of all the Swing objects.
JTabbedPane is a very simple object to use compared to something like JFrame or JTable. just create a JPanel that holds the content you want associated with a particular tab and call tabbedPane.add("tab name",panel). Thats it. clicking that tab will show that panel.
Here is the link to sun's tutorial on JTabbedPane.
of course you could also just look at the Java Docs on JTabbedPane.
Hope some of this helps.
[ June 11, 2002: Message edited by: Chris Shepherd ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JTabbed Pane
 
Similar Threads
Cant use object from another class
WA #1.....word association
Posting to bump up my count...
Text box value is not being completely filled with request attribute
The x900 effect ?