-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
6
-
sparc
-
solaris_9
The itemstatechanged event added to the "list" component behaves inconsistently across the windows and Solaris platform.
java -version
java version "1.4.2-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b06)
Java HotSpot(TM) Client VM (build 1.4.2-beta-b06, mixed mode)
SOLARIS
--------
Please run the attached program "ListAction.java" .A list appears,select an item from it, by pressing "ENTER" button.
Action event and itemstatechanged event is generated.Again press the "ENTER" key but this time don't change or select a new item from the list.You could see the item state changed event getting generated along with action event, even though
there is no change in the selected item of the list.
Solaris Outout is follows:
--------------------------
ItemStateChanged event is triggered
actionPerformed
ItemStateChanged event is triggered
actionPerformed
ItemStateChanged event is triggered
actionPerformed
(all the time item sate changed event is generated)
Windows
-------
Please run the attached program "ListAction.java" .A list appears,select an item from it, by pressing "ENTER" button.
Action event and itemstatechanged event is generated.Again press the "ENTER" key but this time don't change or select a new item from the list.Unlike solaris,this time you can't see any item state changed event getting generated .
Only Action event will be generated.
Windows Outout is follows:
--------------------------
ItemStateChanged event is triggered
actionPerformed
actionPerformed
actionPerformed
(No item state changed event is generated)
Thus the behaviour of item state changed event is different in Solaris and windows.
java -version
java version "1.4.2-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b06)
Java HotSpot(TM) Client VM (build 1.4.2-beta-b06, mixed mode)
SOLARIS
--------
Please run the attached program "ListAction.java" .A list appears,select an item from it, by pressing "ENTER" button.
Action event and itemstatechanged event is generated.Again press the "ENTER" key but this time don't change or select a new item from the list.You could see the item state changed event getting generated along with action event, even though
there is no change in the selected item of the list.
Solaris Outout is follows:
--------------------------
ItemStateChanged event is triggered
actionPerformed
ItemStateChanged event is triggered
actionPerformed
ItemStateChanged event is triggered
actionPerformed
(all the time item sate changed event is generated)
Windows
-------
Please run the attached program "ListAction.java" .A list appears,select an item from it, by pressing "ENTER" button.
Action event and itemstatechanged event is generated.Again press the "ENTER" key but this time don't change or select a new item from the list.Unlike solaris,this time you can't see any item state changed event getting generated .
Only Action event will be generated.
Windows Outout is follows:
--------------------------
ItemStateChanged event is triggered
actionPerformed
actionPerformed
actionPerformed
(No item state changed event is generated)
Thus the behaviour of item state changed event is different in Solaris and windows.
- relates to
-
JDK-1258056 LIST_SELECT event not triggered when Return key selects
-
- Closed
-