public void messageChanged(MessageChangedEvent e) { Message changedMessage = e.getMessage(); for (int i = 0; i < messages.size(); ++i) { if (messages.get(i) == changedMessage) { fireTableRowsUpdated(i, i); } } }
public Message getMessage(int row) { return messages.get(row); }