/**
  * Updates the state of this object based on the current state of its nativeWindow.
  *
  * <p>May only be called from the event thread.
  */
 public void update() {
   super.update();
   if (scene != null) {
     // These variables and others from the super class need be kept up to date to
     // minimize rendering.  For now, claim that the embedded scene is always visible
     // and not minimized so that rendering can occur
     isWindowVisible = true;
     isWindowMinimized = false;
   }
 }