I need to show the content of one panel class into another panel of another class ..i am new to java so i would appreciate any help...plz help me...
in short i just want to add one panel into another through actionlistener of some button..
[QUOTE]i just want to add one panel into another[/QUOTE] You use the add() method to add a component to a container. A panel is both a component and a container so one can be added to another. [QUOTE]through actionlistener of some button..[/QUOTE] Doing this could change the GUI layout. You … Read More
Kudos for NormR1 speed ;) Please do not post "I'm new I need help" claiming to be new is just lame excuse for not trying. JPanel extends JComponent that on other and extends Container, therefore you do inherit methods from there. Container has number of add() methods but following two … Read More
Edited by peter_budo: n/a