public boolean hasChanged() {
String timeFormat = MuConfigurations.getPreferences().getVariable(MuPreference.TIME_FORMAT);
return isSelected() != (timeFormat.equals(HOUR_24_TIME_FORMAT) || timeFormat.equals(HOUR_24_TIME_FORMAT_WITH_SECONDS));
}
};
time24RadioButton.addActionListener(this);
String timeFormat = MuConfigurations.getPreferences().getVariable(MuPreference.TIME_FORMAT);
if(timeFormat.equals(HOUR_12_TIME_FORMAT) || timeFormat.equals(HOUR_12_TIME_FORMAT_WITH_SECONDS))
time12RadioButton.setSelected(true);
else