Beispiel #1
0
  public void afterPropertiesSet() throws Exception {
    // Attempt to retrieve settings persisted locally (if exist).
    try {
      tanitaLocalSettings = settingsHelper.retrieveSettings();
    } catch (CouldNotRetrieveSettingsException e) {
    }

    log.info("Setting bioimpedance-locale to {}", getLocale().getDisplayLanguage());

    tanitaResourceBundle = ResourceBundle.getBundle("bioimpedance-instrument", getLocale());
    appWindow = new JFrame(tanitaResourceBundle.getString("Title.Tanita"));
    saveDataBtn.setToolTipText(tanitaResourceBundle.getString("ToolTip.Save_and_return"));
    saveDataBtn.setText(tanitaResourceBundle.getString("Save"));
  }