View RSS Feed

Recent Blogs Posts

  1. How to Write a List Selection Listener

    by , 04-26-2012 at 09:37 PM
    When selection of table or list is changed or is changing, then list selection event takes place. From an object, these list selection events get fired which result in implementation of interface ListSelectionModel. To get the list selection model of the table, either use getColumnModel().getSelectionModel() or getSelectionModel method.

    For detection of the list selection events, register listener at the list selection model which is appropriate. An option to register the listener ...