Exemple #1
0
  public void saveChanges() {
    String selecteLookAndFeel = (String) comboLookAndFeels.getSelectedItem();
    JFTP.prefs.setLookAndFeelClassName(getLookAndFeelClassName(selecteLookAndFeel));
    // JFTP.prefs.setTheme((String) comboThemes.getSelectedItem());
    // JFTP.prefs.setUseJavaWindows(radioJavaWindows.isSelected());

  }
Exemple #2
0
 public void populateScreen(JFTPPreferences prefs) {
   comboLookAndFeels.setSelectedItem(getLookAndFeelName(prefs.getLookAndFeelClassName()));
   // comboThemes.setSelectedItem(prefs.getTheme());
   // if (prefs.getUseJavaWindows()) {
   // radioJavaWindows.setSelected(true);
   // }
   // else {
   // radioStandardWindows.setSelected(true);
   // }
 }