private static void patchFileChooserStrings(final UIDefaults defaults) { if (!defaults.containsKey(ourFileChooserTextKeys[0])) { // Alloy L&F does not define strings for names of context menu actions, so we have to patch // them in here for (String key : ourFileChooserTextKeys) { defaults.put(key, IdeBundle.message(key)); } } }