diff options
author | naoto <none@none> | 2013-08-01 14:09:39 -0700 |
---|---|---|
committer | naoto <none@none> | 2013-08-01 14:09:39 -0700 |
commit | 0848bde1f6d4ea92f00bb0384a9708d937e35fec (patch) | |
tree | ce31fe4899bf0a23c851e2d77bff374bcf610d91 /src/macosx/classes/com/apple/laf/AquaLookAndFeel.java | |
parent | 0499763d920606c8211d91280225a5b4a0daa868 (diff) |
8021286: Improve MacOS resourcing
Reviewed-by: okutsu
Diffstat (limited to 'src/macosx/classes/com/apple/laf/AquaLookAndFeel.java')
-rw-r--r-- | src/macosx/classes/com/apple/laf/AquaLookAndFeel.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/macosx/classes/com/apple/laf/AquaLookAndFeel.java b/src/macosx/classes/com/apple/laf/AquaLookAndFeel.java index 457b82d36..046d693e3 100644 --- a/src/macosx/classes/com/apple/laf/AquaLookAndFeel.java +++ b/src/macosx/classes/com/apple/laf/AquaLookAndFeel.java @@ -37,8 +37,6 @@ import javax.swing.plaf.basic.BasicLookAndFeel; import sun.swing.*; import apple.laf.*; -import com.apple.resources.MacOSXResourceBundle; - public class AquaLookAndFeel extends BasicLookAndFeel { static final String sOldPropertyPrefix = "com.apple.macos."; // old prefix for things like 'useScreenMenuBar' static final String sPropertyPrefix = "apple.laf."; // new prefix for things like 'useScreenMenuBar' @@ -252,7 +250,7 @@ public class AquaLookAndFeel extends BasicLookAndFeel { table.setDefaultLocale(Locale.getDefault()); table.addResourceBundle(PKG_PREFIX + "resources.aqua"); try { - final ResourceBundle aquaProperties = MacOSXResourceBundle.getMacResourceBundle(PKG_PREFIX + "resources.aqua"); + final ResourceBundle aquaProperties = ResourceBundle.getBundle(PKG_PREFIX + "resources.aqua"); final Enumeration<String> propertyKeys = aquaProperties.getKeys(); while (propertyKeys.hasMoreElements()) { |