private void updateTypeMenu()
		{
			if(specificType != null)
			{
				panel.remove(specificType);
			}
			
			if(playerType.equals(AI))
			{
				specificType = new JComboBox<String>(AIList.getNames());
			}
			else
			{
				specificType = new JComboBox<String>(GUIList.getNames());
			}
			
			panel.add(specificType);
			
			Thread t = new Thread() {

		        public void run () {
						try {
							SwingUtilities.invokeAndWait(new Runnable() {

							    public void run () {
									frame.revalidate();
									frame.pack();
							    }
							});
						} catch (InvocationTargetException e) {
							e.printStackTrace();
						} catch (InterruptedException e) {
							e.printStackTrace();
						} 
		        }
		    };
		    t.start();
		}