Java JFrame and JPanel listener
Currently, I am doing a program. I will have few JPanel and only one JFrame.
By default, JFrame will show a JPanel (Panel A), in full screen.
I implement a button in Panel A to call the Panel B.
How am I to realize this coding?
Panel A will be either remove or disappear from the JFrame and add Panel B into the JFrame.