Exemplo n.º 1
0
  /**
   * Invoked when a window is changed from a minimized to a normal state.
   *
   * @param evt The window event that caused the method to be called.
   */
  public void windowDeiconified(WindowEvent evt) {
    if (frameMillis < 0) mainCanvas.setMinimumFrameInterval(0, false);
    else mainCanvas.setMinimumFrameInterval(frameMillis, false);

    j3dCanvas.requestFocusInWindow();
  }
Exemplo n.º 2
0
 /**
  * The window has opened, so requst input focus.
  *
  * @param evt The window event that caused the method to be called.
  */
 public void windowOpened(WindowEvent evt) {
   j3dCanvas.requestFocusInWindow();
 }
Exemplo n.º 3
0
 /**
  * The window has been given focus.
  *
  * @param evt The window event that caused the method to be called.
  */
 public void windowActivated(WindowEvent evt) {
   j3dCanvas.requestFocusInWindow();
 }