JList stops responding to mouse or keyboard events

Hi I have got a JList that can be dynamically updated. However after one or two clicks the JList stops responding because the listSelectionListener is not called. I am using an instance of DefaultListModel. Could someone please suggest any possible solutions or possible reasons.

Help much appreciated.

[324 byte] By [connys] at [2007-9-26 1:16:10]
# 1
One possible reason: You do something that takes long time in the event-thread (in a actionPerformed method for example). Solution: use a thread to do the thing that takes long time.
DanielN at 2007-6-29 0:43:36 > top of Java-index,Archived Forums,Swing...