-
Bug
-
Resolution: Fixed
-
P1
-
1.4.0
-
rc1
-
x86
-
windows_nt
-
Verified
###@###.### 2001-12-12
java version "1.4.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b89)
Java HotSpot(TM) Client VM (build 1.4.0-rc-b89, mixed mode)
OS :win2000(Pro) Simplified Chinese.
Input chinese in JTextField or JTextArea will cause Exception message flash out in Win2000 simplified chinese platform
java.awt.IllegalComponentStateException: component must be showing on the screen
to determine its location
at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1487
)
at java.awt.Component.getLocationOnScreen(Component.java:1461)
at sun.awt.im.CompositionArea.getTextLocation(CompositionArea.java:235)
at sun.awt.im.CompositionAreaHandler.getTextLocation(CompositionAreaHand
ler.java:226)
at sun.awt.im.InputMethodContext.getTextLocation(InputMethodContext.java
:237)
at sun.awt.windows.WInputMethod$1.run(WInputMethod.java:474)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:190)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
This problem only appears in Win2000(Pro) simplified chinese platform.
There is NO bug in win98 , winNT.
There is NO bug in solaris and Linux.
To reroduce this problem, try attached file JTextPanel.java
when the application is up, then press Ctrl+Sparcbar, choose the tested
input method following by attached file imput_method_you_choose.jpg.
<< in the imput_method_you_choose.jpg, it is the second input method >>
------ end of ###@###.### 2001-12-12
java version "1.4.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b89)
Java HotSpot(TM) Client VM (build 1.4.0-rc-b89, mixed mode)
OS :win2000(Pro) Simplified Chinese.
Input chinese in JTextField or JTextArea will cause Exception message flash out in Win2000 simplified chinese platform
java.awt.IllegalComponentStateException: component must be showing on the screen
to determine its location
at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1487
)
at java.awt.Component.getLocationOnScreen(Component.java:1461)
at sun.awt.im.CompositionArea.getTextLocation(CompositionArea.java:235)
at sun.awt.im.CompositionAreaHandler.getTextLocation(CompositionAreaHand
ler.java:226)
at sun.awt.im.InputMethodContext.getTextLocation(InputMethodContext.java
:237)
at sun.awt.windows.WInputMethod$1.run(WInputMethod.java:474)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:190)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
This problem only appears in Win2000(Pro) simplified chinese platform.
There is NO bug in win98 , winNT.
There is NO bug in solaris and Linux.
To reroduce this problem, try attached file JTextPanel.java
when the application is up, then press Ctrl+Sparcbar, choose the tested
input method following by attached file imput_method_you_choose.jpg.
<< in the imput_method_you_choose.jpg, it is the second input method >>
------ end of ###@###.### 2001-12-12