tags:

views:

103

answers:

1

Yes, setting value to a JList, know that. But i want to know is there an easy way to implement custom JList on which setSelectedValue() will not raise event to to inform attached listeners. I want to keep it quiet :).

+2  A: 

Implement a custom javax.swing.ListSelectionModel that doesn't fire events and assign an instance to your javax.swing.JList.

Nick Holt