Way2Java - JList Single Selection Example Java Swing A list displays a series of items from which the user may select one or more items. Lists are created with class JList, which
![How to Write a List Selection Listener (The Java™ Tutorials > Creating a GUI With Swing > Writing Event Listeners) How to Write a List Selection Listener (The Java™ Tutorials > Creating a GUI With Swing > Writing Event Listeners)](https://docs.oracle.com/javase/tutorial/figures/uiswing/events/TableListSelectionDemo.gif)
How to Write a List Selection Listener (The Java™ Tutorials > Creating a GUI With Swing > Writing Event Listeners)
![How to Write a List Selection Listener (The Java™ Tutorials > Creating a GUI With Swing > Writing Event Listeners) How to Write a List Selection Listener (The Java™ Tutorials > Creating a GUI With Swing > Writing Event Listeners)](https://docs.oracle.com/javase/tutorial/figures/uiswing/events/ListSelectionDemo.gif)