public CheckboxMenuItem(String label, boolean state) { super(label); this.state = state;  if (GraphicsEnvironment.isHeadless()) throw new HeadlessException(); }
CheckboxMenuItem() { this("", false); }
	public CheckboxMenuItem(String label, boolean state) {		super(label);		this.state = state;		if (GraphicsEnvironment.isHeadless())			throw new HeadlessException();	}