SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
I have been trying to remove the JPanel i added when another button is clicked , so it removes the current on and adds the new one.
luck, db
There are no new questions, but there may be new answers.
Darryl Burke wrote:
I have been trying to remove the JPanel i added when another button is clicked , so it removes the current on and adds the new one.
Ever heard of CardLayout?
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
luck, db
There are no new questions, but there may be new answers.
Darryl Burke wrote:This typically happens when you add a Listener within the event code of the same or another Listener, but you haven't shown us the code that does that.
Also, getName() returns a String, so it is redundant to call toString().