How to get Value of JList

I have a string array entered into an array list and I'm trying to get the value in an int, of where it is at. When I use lst.getSelectedValue(), it returns -1 for whatever I click on? How do I get the value position of there the item in the array list is at? Please help.
[280 byte] By [blackmagea] at [2007-11-27 6:53:09]
# 1
You've been asked to post Swing releated questions in the Swing forum.You still haven't responed to older postings when you've received help, so I won't bother wasting time and helping again.
camickra at 2007-7-12 18:27:51 > top of Java-index,Java Essentials,Java Programming...
# 2
If you select an entry in a visible JList and your code finds that no entry has been selected in the JList it's looking at, then it's looking at a different JList.
DrClapa at 2007-7-12 18:27:51 > top of Java-index,Java Essentials,Java Programming...
# 3
Thnx
blackmagea at 2007-7-12 18:27:51 > top of Java-index,Java Essentials,Java Programming...