Beispiel #1
0
  @Override
  void quit() {
    super.quit();

    prefs.put("WatchFolder", watchFolder);
    prefs.put("OutputFolder", outputFolder);
    prefs.putBoolean("WatchEnabled", watchEnabled);

    System.exit(0);
  }
Beispiel #2
0
  @Override
  void changeUILanguage(final Locale locale) {
    super.changeUILanguage(locale);

    SwingUtilities.invokeLater(
        new Runnable() {

          @Override
          public void run() {
            if (watchDialog != null) {
              watchDialog.changeUILanguage(locale);
            }

            statusFrame.setTitle(bundle.getString("statusFrame.Title"));
          }
        });
  }