Code example for JList

Methods: getSelectedValue