public void componentHidden(ComponentEvent e){
  if (logger.isLoggable(Level.FINE)) {
    logger.fine("layer pane for " + layer.getName() + " receiving componentHidden event");
  }
  Component comp=e.getComponent();
  if (comp == layer) {
    if (isLayerOn() != false) {
      setLayerOn(false);
      if (logger.isLoggable(Level.FINE)) {
        logger.fine("layer " + layer.getName() + " is now hidden.");
      }
    }
  }
 else   if (comp == layer.getPalette()) {
    setPaletteOn(false);
  }
 else   if (comp == null) {
    if (logger.isLoggable(Level.FINE)) {
      logger.fine("layer " + layer.getName() + " is now hidden.");
    }
  }
}

public void componentHidden ( ComponentEvent e ) { if ( logger . isLoggable ( Level . FINE ) ) { logger . fine ( "layer pane for " + layer . getName ( ) + " receiving componentHidden event" ) ; } Component comp = e . getComponent ( ) ; if ( comp == layer ) { if ( isLayerOn ( ) != false ) { setLayerOn ( false ) ; if ( logger . isLoggable ( Level . FINE ) ) { logger . fine ( "layer " + layer . getName ( ) + " is now hidden." ) ; } } } else if ( comp == layer . getPalette ( ) ) { setPaletteOn ( false ) ; } else if ( comp == null ) { if ( logger . isLoggable ( Level . FINE ) ) { logger . fine ( "layer " + layer . getName ( ) + " is now hidden." ) ; } } }
invoked when component has been hidden .
