T
Tom
Hi,
I have a JList with some String values in it and i have a ScrollPane tied
to the JList. Now the problem. When you have made a selection from the JList
i want to set my JList to the start value again but i cant get it to work.
I've tried with the JList methods: setSelectedIndex(int index), clearSelection(),
but nothing happends. So no i wonder how to set my JList to show the index
value i want?
Best Regards
Tom
I have a JList with some String values in it and i have a ScrollPane tied
to the JList. Now the problem. When you have made a selection from the JList
i want to set my JList to the start value again but i cant get it to work.
I've tried with the JList methods: setSelectedIndex(int index), clearSelection(),
but nothing happends. So no i wonder how to set my JList to show the index
value i want?
Best Regards
Tom