Hi Rolf, thanks for the hint, it works perfectly.
Regards, Michael -----Ursprüngliche Nachricht----- Von: Rolf Pfenninger [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 29. Juni 2006 14:27 An: Brohl Michael; [email protected] Betreff: RE: [ULC-developer] (no subject) Hi Michael The table maintains two selection models: one for the row selection (accessible through ULCTable.getSelectionModel()) and one for the column selection (accessible through ULCTable.getColumnModel().getSelectionModel()). So, you need to register two selection listeners: table.getSelectionModel().addListSelectionListener( new IListSelectionListener() { public void valueChanged(ListSelectionEvent event) { System.out.println("Row selection changed"); } }); table.getColumnModel().getSelectionModel().addListSelectionListener( new IListSelectionListener() { public void valueChanged(ListSelectionEvent event) { System.out.println("Column selection changed"); } }); I hope this helps. Cheerio Rolf _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
