> My listener class :-
>
> class TableSelectionListener implements ListSelectionListener {
> public void valueChanged(ListSelectionEvent event) {
> if (event.getSource() == table.getSelectionModel() &&
> table.getRowSelectionAllowed()) {
> int first = event.getFirstIndex();
> int last = event.getLastIndex();
> LogManager.log.debug("Row selection changed = " + first + " " + last);
> }
> }
> }
>
> The problem is when I click select a row it calls the listener twice.
may be it called first time for deselecting the last selected row and second
time for selecting the new row
Regards
Andrei
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing