The java.awt.JList.getSelectedIndex method returns the index of the currently selected item in a JList component. It returns -1 if no item is currently selected.
Java JList.getSelectedIndex - 30 examples found. These are the top rated real world Java examples of java.awt.JList.getSelectedIndex extracted from open source projects. You can rate examples to help us improve the quality of examples.