I have two JTabbedPanes, JTabbedPane1 & 2 How can I press button in JTabbedPane2 to show JTabbedPane1 ?
Here is the code for JTabbedPane:
public cla
You should use the method JTabbedPane.setSelectedIndex(int index) with the index of the tab you want.
JTabbedPane.setSelectedIndex(int index)