void (final TableModelEvent e) { // This method may be called from TableModelListener (before selection model update) // http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4730055 SwingUtilities.invokeLater(() -> updateSelection(table)); }