Forums Register Login

JTabbedPane question

+Pie Number of slices to send: Send
Hi again,

OK, so I understand that a panel should be used for JTabbedPane operation, and I understand how to add tabs, but here's a question: how would I add pages dynamically during my program's operation?
[ February 04, 2008: Message edited by: Patrick Brooks ]
+Pie Number of slices to send: Send
If you mean how would you add tabs dynamically it is no different than adding them statically. On some event you would just get the instance of your JTabbedPane and call addTab(...).

The API is a good place to find this information.
Remember to always leap before you look. But always take the time to smell the tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 604 times.
Similar Threads
JTabbedPane
Setting tab on JTabbedPane that exists already
JTabbedPan
JTabbedPane Problem
get the JTabbedPane value of the calling program
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 02:03:58.