I have created a java application which has a JTabbedPane that contains three JPanels. In my first panel I have a button. When the user clicks the button, it should open/show the second panel. Can anyone tell me how I can do that?
I have created a java application which has a JTabbedPane that contains three JPanels.
Share
Simply use the method setSelectedIndex