viewer.detach();
  public void shutdownDemo() {    if (drawable != null) {      ManipManager.getManipManager().unregisterWindow(drawable);      drawable.removeGLEventListener(this);    }    super.shutdownDemo();  }