import java.awt.event.WindowListener;
/**
- * Java Swing GUI frame that contains canvas for 3D rendering.
+ * Java Swing GUI frame that contains {@link ViewPanel} with canvas for 3D rendering.
*/
public class ViewFrame extends JFrame implements WindowListener {
public void windowDeactivated(final WindowEvent e) {
}
+ /**
+ * Repaint the view when the window is deiconified.
+ *
+ * Deiconified means that the window is restored from minimized state.
+ */
@Override
public void windowDeiconified(final WindowEvent e) {
viewPanel.repaintDuringNextViewUpdate();
}
+ /**
+ * Do nothing when the window is iconified.
+ *
+ * Iconified means that the window is minimized.
+ * @param e the event to be processed
+ */
@Override
public void windowIconified(final WindowEvent e) {
}