ListEvent11Example
-- displaying the select, deselect, and action events generated by a list component.
Experiment:
Single-click on items in the list.
Double-click on items in the list.
Press the return key.
To see this example in action:
Compile the Java source file, ListEvent11Example.java:
javac ListEvent11Example.java
Run the class:
java ListEvent11Example
The source.