Ignore:
Timestamp:
2011-05-04T07:09:56+02:00 (13 years ago)
Author:
jttt
Message:

Fix #6301 Check for null mandatory in TableCellRenderer.getTableCellRendererComponent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/UserListDialog.java

    r4031 r4072  
    120120            public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
    121121                final JLabel label = (JLabel) super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
     122                if (value == null)
     123                    return this;
    122124                label.setIcon((ImageIcon)value);
    123125                label.setText("");
Note: See TracChangeset for help on using the changeset viewer.