-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
b57
-
sparc
-
solaris_8
Running NetBeans installer on top of JDK 1.5 produces the next exception
at javax.swing.plaf.basic.BasicFileChooserUI.getMnemonic(BasicFileChooserUI.java:603)
at javax.swing.plaf.basic.BasicFileChooserUI.installStrings(BasicFileChooserUI.java:262)
at javax.swing.plaf.metal.MetalFileChooserUI.installStrings(MetalFileChooserUI.java:447)
at javax.swing.plaf.basic.BasicFileChooserUI.installDefaults(BasicFileChooserUI.java:220)
at javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserUI.java:135)
at javax.swing.plaf.metal.MetalFileChooserUI.installUI(MetalFileChooserUI.java:123)
at javax.swing.JComponent.setUI(JComponent.java:650)
at javax.swing.JFileChooser.updateUI(JFileChooser.java:1755)
at javax.swing.JFileChooser.setup(JFileChooser.java:366)
at javax.swing.JFileChooser.<init>(JFileChooser.java:332)
at javax.swing.JFileChooser.<init>(JFileChooser.java:285)
This is due to incomatible change BasicFileChooserUI (UIManager.getInt
to getMnemonic with consideration that the key value is String) for
menomic intitialization fo the next keys: FileChooser.saveButtonMnemonic,
FileChooser.openButtonMnemonic, FileChooser.cancelButtonMnemonic, FileChooser.updateButtonMnemonic, FileChooser.helpButtonMnemonic,
and FileChooser.directoryOpenButtonMnemonic.
The result is that some old code (like the one in InstallShield), which
initiliaze the keys to int values, crash on JDK 1.5.
Please make getMenonic the dual acceptance both String and Integer.
###@###.### 2004-06-08
at javax.swing.plaf.basic.BasicFileChooserUI.getMnemonic(BasicFileChooserUI.java:603)
at javax.swing.plaf.basic.BasicFileChooserUI.installStrings(BasicFileChooserUI.java:262)
at javax.swing.plaf.metal.MetalFileChooserUI.installStrings(MetalFileChooserUI.java:447)
at javax.swing.plaf.basic.BasicFileChooserUI.installDefaults(BasicFileChooserUI.java:220)
at javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserUI.java:135)
at javax.swing.plaf.metal.MetalFileChooserUI.installUI(MetalFileChooserUI.java:123)
at javax.swing.JComponent.setUI(JComponent.java:650)
at javax.swing.JFileChooser.updateUI(JFileChooser.java:1755)
at javax.swing.JFileChooser.setup(JFileChooser.java:366)
at javax.swing.JFileChooser.<init>(JFileChooser.java:332)
at javax.swing.JFileChooser.<init>(JFileChooser.java:285)
This is due to incomatible change BasicFileChooserUI (UIManager.getInt
to getMnemonic with consideration that the key value is String) for
menomic intitialization fo the next keys: FileChooser.saveButtonMnemonic,
FileChooser.openButtonMnemonic, FileChooser.cancelButtonMnemonic, FileChooser.updateButtonMnemonic, FileChooser.helpButtonMnemonic,
and FileChooser.directoryOpenButtonMnemonic.
The result is that some old code (like the one in InstallShield), which
initiliaze the keys to int values, crash on JDK 1.5.
Please make getMenonic the dual acceptance both String and Integer.
###@###.### 2004-06-08
- relates to
-
JDK-4684488 Some mnemonics in JColorChooser and JFileChooser can't be localized.
- Resolved
-
JDK-5064222 5059770 needs to be applied to GTKFileChooserUI and SynthFileChooserUIImpl
- Resolved