Forums Register Login

JTabbed Pane

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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 ]
Honk if you love justice! And honk twice for tiny ads!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1134 times.
Similar Threads
JTabbed Pane: How to hide the frame containing the tabbed panes
Adding JTabbed panel class in Netbeans
about JTabbed Pane
jtabbed pane question
how to increase height of jtabbed pane
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 18:54:55.