intgetSelectedIndex()Returns the first item in the list that matches the given item.Object[]getSelectedObjects()Returns an array containing the selected item.