} else if (command == HidePaletteCmd) {
} else if (command == HidePaletteCmd) { if (Debug.debugging("layer")) { Debug.output(getName() + " hiding palette"); }
    public void actionPerformed(ActionEvent ae) {	String command = ae.getActionCommand();	if (command == DisplayPaletteCmd) {	    if (Debug.debugging("layer")) {		Debug.output(getName() + " displaying palette");	    }	    showPalette();	} else if (command == HidePaletteCmd) {	    hidePalette();	} else if (command == DisplayPropertiesCmd) {	    Inspector inspector = new Inspector();	    inspector.inspectPropertyConsumer(this);	}     }