@SuppressWarnings("unchecked")
		private GUI getGUI(Color faction)
		{
			if(playerType.equals(HUMAN))
			{	
				@SuppressWarnings("rawtypes")
				Class gui = GUIList.get()[specificType.getSelectedIndex()];
				@SuppressWarnings("rawtypes")
				Constructor cntr = null;
				try {
					cntr = gui.getConstructor(new Class[]{Color.class});
				} catch (NoSuchMethodException e1) {
					e1.printStackTrace();
				} catch (SecurityException e1) {
					e1.printStackTrace();
				}
				
				GUI playerGUI = null;
				try {
					playerGUI = (GUI) cntr.newInstance(faction);
				} catch (InstantiationException e) {
					e.printStackTrace();
				} catch (IllegalAccessException e) {
					e.printStackTrace();
				} catch (IllegalArgumentException e) {
					e.printStackTrace();
				} catch (InvocationTargetException e) {
					e.printStackTrace();
				}
				
				return playerGUI;
			}
			return null;
		}