Closed RobertBColton closed 4 years ago
Anywhere we display standard Swing components, such as JOptionPane, you can not localize them if we aren't using the Messages.java class. The solution is to actually provide our message bundles to Swing in the UI properties.
Messages.java
UIManager.getDefaults().addResourceBundle("com.mypackage.messages");
https://stackoverflow.com/a/6932717
Anywhere we display standard Swing components, such as JOptionPane, you can not localize them if we aren't using the
Messages.java
class. The solution is to actually provide our message bundles to Swing in the UI properties.https://stackoverflow.com/a/6932717