Selections in a JTable combined with fireTableRowsUpdated(...)
From: Klaus Jacobsen (none_at_here.dk)
Date: 10/28/03
- Next message: Thomas Weidenfeller: "Re: SetStretchBltMode() equivalent in Java?"
- Previous message: Goetz Markgraf: "Re: JFrame not resizable but minimizable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 28 Oct 2003 09:06:02 +0100
Hi!
I have a JTable with a custom AbstractTableModel. when data changes in the
model i call fireTableRowsUpdated(...), but when I do this selections in the
table are cleared/removed.
What can i do to prevent selected rows from being deselected upon calling
fireTab....?
Is the answer: ListSelectionListener and keeping track of selections myself?
There must be an easier way!
Regards Klaus Jacobsen
- Next message: Thomas Weidenfeller: "Re: SetStretchBltMode() equivalent in Java?"
- Previous message: Goetz Markgraf: "Re: JFrame not resizable but minimizable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|