I have found this intermittent behaviour with the JList class. If you select an item in the List in the order in which the they displayed i.e. top to bottom there is no problem. However if you want to select items that do not lie immediately below the one you previously selected the cursor jumps to the one it wants you to select i.e. it gets stuck at an item in the list.

Any ideas on why this is happening?

有帮助吗?

解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top