Changing a Panel at run time.

I

IchBin

Not sure how to do this.

Simple example would be say I have a JTabbedPane with a JPanel object on
it. How do I drop\replace this JPanel to load a newer modified one while
running.?

Based on what I am doing, on the JPanel, I have no problem dynamically
building the JPanels. Just not sure how to replace the JPanel that
resides on the JTabbedPane.

I really do not want to remove and then insert one of the indexed tabs
to just load a new JPanel on it.
--


Thanks in Advance...
IchBin
__________________________________________________________________________

'The meeting of two personalities is like the contact of two chemical
substances:
if there is any reaction, both are transformed.'
- Carl Gustav Jung, (1875-1961), psychiatrist and psychologist
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top