Esempio n. 1
0
  public final void doExitApplication() {

    try {
      IGV.getInstance().saveStateForExit();

      Frame mainFrame = IGV.getMainFrame();
      // Hide and close the application
      mainFrame.setVisible(false);
      mainFrame.dispose();

    } finally {
      System.exit(0);
    }
  }
Esempio n. 2
0
 public void showAboutDialog() {
   (new AboutDialog(IGV.getMainFrame(), true)).setVisible(true);
 }