public void saveChanges() { String selecteLookAndFeel = (String) comboLookAndFeels.getSelectedItem(); JFTP.prefs.setLookAndFeelClassName(getLookAndFeelClassName(selecteLookAndFeel)); // JFTP.prefs.setTheme((String) comboThemes.getSelectedItem()); // JFTP.prefs.setUseJavaWindows(radioJavaWindows.isSelected()); }
public void populateScreen(JFTPPreferences prefs) { comboLookAndFeels.setSelectedItem(getLookAndFeelName(prefs.getLookAndFeelClassName())); // comboThemes.setSelectedItem(prefs.getTheme()); // if (prefs.getUseJavaWindows()) { // radioJavaWindows.setSelected(true); // } // else { // radioStandardWindows.setSelected(true); // } }