Component (final JTable table, final Object value, final boolean isSelected, final boolean hasFocus, final int row, final int column) { final JLabel cell = (JLabel)super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column); final String version = (String)table.getValueAt(row, 1); final String availableVersion = (String)table.getValueAt(row, 2); boolean update = column == 2 && StringUtil.isNotEmpty(availableVersion) && isUpdateAvailable(version, availableVersion); cell.setIcon(update ? IconUtil.getMoveUpIcon() : null); final Object pyPackage = table.getValueAt(row, 0); if (pyPackage instanceof InstalledPackage) { cell.setToolTipText(((InstalledPackage) pyPackage).getTooltipText()); } return cell; }