*/
final String name = scheme.getSchemeName();
String label = MessageManager.getStringOrReturn(
- "label.colourScheme_", name.toLowerCase().replace(" ", "_"));
+ "label.colourScheme_", name);
final JRadioButtonMenuItem radioItem = new JRadioButtonMenuItem(
label);
radioItem.setName(name);
ActionListener al = radioItem.getActionListeners()[0];
radioItem.removeActionListener(al);
int option = JvOptionPane.showInternalConfirmDialog(
- Desktop.desktop,
+ Desktop.getDesktopPane(),
MessageManager
.getString("label.remove_from_default_list"),
MessageManager
}
else
{
- Cache.applicationProperties.remove("USER_DEFINED_COLOURS");
+ Cache.removePropertyNoSave("USER_DEFINED_COLOURS");
}
}
}