This testcase verify that List Item selection via mouse/keys generates ItemEvent/ActionEvent appropriately.
a. Single click on the list generate ItemEvent and double click on item generates ActionEvent. b. UP/DOWN keys on the list generate ItemEvent and enter key on item generates ActionEvent. Testing: Tested using Mach5(20 times per platform) in macos,linux and windows and got all pass. ------------- Commit messages: - 8295774 : Write a test to verify that List Item selection events. Changes: https://git.openjdk.org/jdk/pull/10899/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10899&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8295774 Stats: 193 lines in 1 file changed: 193 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/10899.diff Fetch: git fetch https://git.openjdk.org/jdk pull/10899/head:pull/10899 PR: https://git.openjdk.org/jdk/pull/10899