Using a JButton to change an interface in Java?

Execute this.validate() after you update the UI's layout. Calling this method tells the UI to relayout its components.

Thank you very Much – Kevin Mar 17 at 0:55 1 @Kevin: You can click the empty check mark on the left to accept this answer. – trashgod Mar 17 at 2:59.

The idea is there are 5 JButtons on the top of the screen. Every time you press one it removes the old menu and produces a new one. To me, my code looks fine.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions