Giving JTabbedPane Orders
===

I've reccently run into issues with indexing my tabs and though I'd give it some concrete ordering by using the `setComponentAt` method. Here's my code:

	public ContainerPane() {
		this.setLayout(new BorderLayout());
		myPlayerManagerPane = new PlayerManagerPane();
		myGameManagerPane = new GameManagerPane();
		myCharacterManagerPane = new CharacterManagerPane();
		
		myPaneTab = new JTabbedPane(JTabbedPane.TOP);
		myPaneTab.addTab("Character",myCharacterManagerPane);
		myPaneTab.addTab("Player",myPlayerManagerPane);
		myPaneTab.addTab("Games",myGameManagerPane);
		System.out.println(myPaneTab.getTabCount());
		//myPaneTab.setEnabledAt(1, false);
		//myPaneTab.setEnabledAt(2, false);
		myPaneTab.setComponentAt(0, myPlayerManagerPane);
		myPaneTab.setMnemonicAt(0, KeyEvent.VK_1);
		myPaneTab.setComponentAt(1, myCharacterManagerPane);
		myPaneTab.setMnemonicAt(1, KeyEvent.VK_2);
		myPaneTab.setComponentAt(2, myGameManagerPane);<---outOfBoundsException
		myPaneTab.setMnemonicAt(2, KeyEvent.VK_3);
		add(myPaneTab);
	}

So for the count I have, 3 tabs (according to me, and `getTabCount()`), and I am counting from 0 (correct?). I'm setting the last index the last component that I have. But I still have this printing to screen:

    3 <---from tabCount
    Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 2 >= 2
 Where am I tripping up, is there an easier way to order my panes?