Well if youre using a JTabbedPane, you just add the tabs
in the order which you want them to be displayed.
i.e.
//displays a frame with two tabs.
public static void main(
String[] args)
{
JFrame f = new JFrame();
JTabbedPane j = new JTabbedPane();
j.addTab("Panel 1" , new JPanel());
j.addTab("Panel 2" , new JPanel());
f.getContentPane.add(j);
f.setVisible(true);
}
-j