I am in need of help here.
I making a aplication that are using menus.
Every jMenuItem you click will get you a new jpanel with its items (buttons, labels).
From what i have read i should be using Actionevent thing.
But i cant make it work.
Here is the code (part of the code).
That was the actionlistener i tried.
That was my jpanels.
You will get contentPane first when you open the application. And when you click one of the menus you will get the Jpanel that is for that menu.
If you guys help me to get to make the contantpane invis and make the other visible, it would be great. I couldnt do it (have worked on it 8< hour (i am new to java)).