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