@Override
				public void itemStateChanged(ItemEvent e) {
					int playerNum = Integer.parseInt(((JCheckBox)e.getSource()).getName());
					if(e.getStateChange() == ItemEvent.SELECTED) {
						PlayerAIs[playerNum] = true;
					} else if(e.getStateChange() == ItemEvent.DESELECTED) {
						PlayerAIs[playerNum] = false;
					}
				}