-
Enhancement
-
Resolution: Fixed
-
P4
-
1.2.0
-
beta2
-
generic
-
generic
Name: diC59631 Date: 01/04/99
While a long term goal is to localize JOptionPane...
please make the title settable by something like the following:
UIDefaults defaults = UIManager.getDefaults();
defaults.put("OptionPane.title", "Choisisez une option");
Currently, while I can set all the buttons for an option pane like:
UIDefaults defaults = UIManager.getDefaults();
defaults.put("OptionPane.cancelButtonText", "Annuler");
defaults.put("OptionPane.noButtonText", "Non");
defaults.put("OptionPane.okButtonText", "D'accord");
defaults.put("OptionPane.yesButtonText", "Oui");
I have to manually set the title to something other than English for each option pane created.
With all five as UIDefaults, I can create a method to call for every language I plan on supporting...
I don't think these constitute API changes... ;-) so should be able to slip this in with a bug fix release... vs. next full revision... :-)
(Review ID: 48940)
======================================================================