-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
1.4.2
-
x86
-
windows_xp
FULL PRODUCT VERSION :
java version "1.4.2_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_1
Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows XP
Professional,
Version 2002
Service Pack 2
A DESCRIPTION OF THE PROBLEM :
Full details are at: http://forum.java.sun.com/thread.jspa?forumID=31&threadID=669002
The problem happens to me only when the language is Korean.
opening a Color Chooser causes the following exception:
Exception occurred during event dispatching:
java.lang.IllegalArgumentException: Invalid mnemonic index: 3
at javax.swing.JTabbedPane$Page.setDisplayedMnemonicIndex(JTabbedPane.java:1805)
at javax.swing.JTabbedPane.setDisplayedMnemonicIndexAt(JTabbedPane.java:1385)
at javax.swing.plaf.basic.BasicColorChooserUI$PropertyHandler.propertyChange(BasicColorChooserUI.java:238)
at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:264)
at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:232)
at javax.swing.JComponent.firePropertyChange(JComponent.java:3819)
at javax.swing.JColorChooser.setChooserPanels(JColorChooser.java:446)
at javax.swing.plaf.basic.BasicColorChooserUI.installUI(BasicColorChooserUI.java:79)
at javax.swing.JComponent.setUI(JComponent.java:449)
at javax.swing.JColorChooser.setUI(JColorChooser.java:209)
at javax.swing.JColorChooser.updateUI(JColorChooser.java:220)
at javax.swing.JColorChooser.<init>(JColorChooser.java:183)
at javax.swing.JColorChooser.<init>(JColorChooser.java:171)
at javax.swing.JColorChooser.<init>(JColorChooser.java:162)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Change the language to Korean and try to initiate a JColorChooser
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Opening of JColorChooser
ACTUAL -
Exception and the JColorChooser isn't opened
ERROR MESSAGES/STACK TRACES THAT OCCUR :
java.lang.IllegalArgumentException: Invalid mnemonic index: 3
at javax.swing.JTabbedPane$Page.setDisplayedMnemonicIndex(JTabbedPane.java:1805)
at javax.swing.JTabbedPane.setDisplayedMnemonicIndexAt(JTabbedPane.java:1385)
at javax.swing.plaf.basic.BasicColorChooserUI$PropertyHandler.propertyChange(BasicColorChooserUI.java:238)
at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:264)
at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:232)
at javax.swing.JComponent.firePropertyChange(JComponent.java:3819)
at javax.swing.JColorChooser.setChooserPanels(JColorChooser.java:446)
at javax.swing.plaf.basic.BasicColorChooserUI.installUI(BasicColorChooserUI.java:79)
at javax.swing.JComponent.setUI(JComponent.java:449)
at javax.swing.JColorChooser.setUI(JColorChooser.java:209)
at javax.swing.JColorChooser.updateUI(JColorChooser.java:220)
at javax.swing.JColorChooser.<init>(JColorChooser.java:183)
at javax.swing.JColorChooser.<init>(JColorChooser.java:171)
at javax.swing.JColorChooser.<init>(JColorChooser.java:162)
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.4.2_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_1
Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows XP
Professional,
Version 2002
Service Pack 2
A DESCRIPTION OF THE PROBLEM :
Full details are at: http://forum.java.sun.com/thread.jspa?forumID=31&threadID=669002
The problem happens to me only when the language is Korean.
opening a Color Chooser causes the following exception:
Exception occurred during event dispatching:
java.lang.IllegalArgumentException: Invalid mnemonic index: 3
at javax.swing.JTabbedPane$Page.setDisplayedMnemonicIndex(JTabbedPane.java:1805)
at javax.swing.JTabbedPane.setDisplayedMnemonicIndexAt(JTabbedPane.java:1385)
at javax.swing.plaf.basic.BasicColorChooserUI$PropertyHandler.propertyChange(BasicColorChooserUI.java:238)
at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:264)
at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:232)
at javax.swing.JComponent.firePropertyChange(JComponent.java:3819)
at javax.swing.JColorChooser.setChooserPanels(JColorChooser.java:446)
at javax.swing.plaf.basic.BasicColorChooserUI.installUI(BasicColorChooserUI.java:79)
at javax.swing.JComponent.setUI(JComponent.java:449)
at javax.swing.JColorChooser.setUI(JColorChooser.java:209)
at javax.swing.JColorChooser.updateUI(JColorChooser.java:220)
at javax.swing.JColorChooser.<init>(JColorChooser.java:183)
at javax.swing.JColorChooser.<init>(JColorChooser.java:171)
at javax.swing.JColorChooser.<init>(JColorChooser.java:162)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Change the language to Korean and try to initiate a JColorChooser
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Opening of JColorChooser
ACTUAL -
Exception and the JColorChooser isn't opened
ERROR MESSAGES/STACK TRACES THAT OCCUR :
java.lang.IllegalArgumentException: Invalid mnemonic index: 3
at javax.swing.JTabbedPane$Page.setDisplayedMnemonicIndex(JTabbedPane.java:1805)
at javax.swing.JTabbedPane.setDisplayedMnemonicIndexAt(JTabbedPane.java:1385)
at javax.swing.plaf.basic.BasicColorChooserUI$PropertyHandler.propertyChange(BasicColorChooserUI.java:238)
at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:264)
at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:232)
at javax.swing.JComponent.firePropertyChange(JComponent.java:3819)
at javax.swing.JColorChooser.setChooserPanels(JColorChooser.java:446)
at javax.swing.plaf.basic.BasicColorChooserUI.installUI(BasicColorChooserUI.java:79)
at javax.swing.JComponent.setUI(JComponent.java:449)
at javax.swing.JColorChooser.setUI(JColorChooser.java:209)
at javax.swing.JColorChooser.updateUI(JColorChooser.java:220)
at javax.swing.JColorChooser.<init>(JColorChooser.java:183)
at javax.swing.JColorChooser.<init>(JColorChooser.java:171)
at javax.swing.JColorChooser.<init>(JColorChooser.java:162)
REPRODUCIBILITY :
This bug can be reproduced always.