Component (JTable table, Object value, boolean isSelected, int row, int column) { @SuppressWarnings("unchecked") T t = (T)value; myValue = t; myCellState.collectState(table, isSelected, true, row, column); myCellState.updateRenderer(this); customizeComponent(t, table, true); SwingUtilities.invokeLater(() -> showPopup(t, row)); return this; }