private void appletShutdown(AppletPanel p){
  p.sendEvent(AppletPanel.APPLET_STOP);
  p.sendEvent(AppletPanel.APPLET_DESTROY);
  p.sendEvent(AppletPanel.APPLET_DISPOSE);
  p.sendEvent(AppletPanel.APPLET_QUIT);
}

private void appletShutdown ( AppletPanel p ) { p . sendEvent ( AppletPanel . APPLET_STOP ) ; p . sendEvent ( AppletPanel . APPLET_DESTROY ) ; p . sendEvent ( AppletPanel . APPLET_DISPOSE ) ; p . sendEvent ( AppletPanel . APPLET_QUIT ) ; }
shutdown a viewer . stop , destroy , dispose and quit a viewer
