title: JTable: single selection for the user, multiple selections programmatically
body: <p>I have a <code>JTable</code> where the user should be able to select only a single row, but whenever a row is selected by the user, some other rows (that are related according to some logic) should also be selected programmatically. The problem is that if I set the selection mode of the table to <code>ListSelectionModel.SINGLE_SELECTION</code>, <code>addRowSelectionInterval</code> will also select only one row. Any ideas? </p>
  
  <p>EDIT: I think all ideas (custom selection model, clearing all but last user selections, custom renderer for highlighting) were good, but the best is to use SwingX, because it doesn't require much infrastructure-code, only a clever usage of the library. (and it's easy to be clever when a SwingX-guru is helping :)</p>