Show Panel
Hi AllI have two classes, both of them extends JPanel class. I have a JButton in first class, assume it Class1; How could I invoke the other Panel?JOtnarta
[176 byte] By [
jotnartaa] at [2007-11-27 0:22:15]

# 2
Thank you for replying, i think that i didn't put the question clear.I didn't mean the layout, I have two classes that subclass JPanel. Let's say Class1 and Class2..I have a button in Class1, that must , when clicked, show Class 2.I didn't know how to do it?