else { setIcon(null); } setText("");
    public Component getTableCellRendererComponent(JTable table, Object value,                                                   boolean isSelected,                                                   boolean hasFocus, int row,                                                   int column)    {      super.getTableCellRendererComponent(table, value, isSelected, hasFocus,                                          row, column);      if (value instanceof Icon)        {          Icon iconValue = (Icon) value;          setIcon(iconValue);          setText("");        }      return this;    }