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..
47pirates
9
Junior Poster in Training
Recommended Answers
Jump to Posti just want to add one panel into another
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.through actionlistener of some button..
Doing this could change the GUI layout. You …
Jump to PostKudos 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 …
All 5 Replies
NormR1
563
Posting Sage
Team Colleague
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
mKorbel
commented:
Always try to read API
+9
47pirates
9
Junior Poster in Training
NormR1
563
Posting Sage
Team Colleague
47pirates
9
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.