updateEnabledStatus();
}
@Override
public void saveData() {
UserConfiguration uc=UserConfiguration.getInstance();
ApplicationContext ctx=ApplicationContext.getInstance();
log.debug("sending show wrong key status: "+showWrongKey.isSelected());
ctx.setKeyWrongColor(keyWrongColor.getBackground());
ctx.setShowWrongKey(showWrongKey.isSelected());
ctx.setKeyHintColor(keyHintColor.getBackground());
ctx.setShowHints(showHints.isSelected());
uc.putProperty(COLOR_WRONG_KEY, keyWrongColor.getBackground());
uc.putProperty(COLOR_HINTS, keyHintColor.getBackground());
uc.putProperty(SHOW_WRONG_KEY, keyWrongColor.isEnabled());
uc.putProperty(SHOW_HINTS, keyHintColor.isEnabled());
}