コード例 #1
0
 /** Hides and disposes depending on the state of the window. */
 void updateClosedState() {
   if (window.isClosed()) {
     window.setVisible(false);
     window.dispose();
   }
 }