private int checkColor(String c) {
		Color color;
		try {
		    java.lang.reflect.Field field = Color.class.getField(c.toLowerCase());
		    color = (Color)field.get(null);
		} catch (Exception e) {
		    color = null; // Not defined
		}
		if(color == null){
			JOptionPane.showMessageDialog(this.ngs.getMainWindow(), c + " is not a valid color");
			return 1;
		}
		if(color == Color.white){
			JOptionPane.showMessageDialog(this.ngs.getMainWindow(), "Please choose a different color than white");
			return 1;
		}
		return 0;
	}