Changeset 4072 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
- Timestamp:
- 2011-05-04T07:09:56+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
r3970 r4072 563 563 boolean isSelected, boolean hasFocus, int row, int column) { 564 564 Component c = super.getTableCellRendererComponent(table, value, isSelected, false, row, column); 565 if (value == null) 566 return this; 565 567 if (c instanceof JLabel) { 566 568 String str = null; … … 610 612 boolean isSelected, boolean hasFocus, int row, int column) { 611 613 Component c = super.getTableCellRendererComponent(table, value, isSelected, false, row, column); 614 if (value == null) 615 return this; 612 616 if (c instanceof JLabel) { 613 617 JLabel label = (JLabel)c; … … 625 629 @Override public Component getTableCellRendererComponent(JTable table, Object value, 626 630 boolean isSelected, boolean hasFocus, int row, int column) { 631 if (value == null) 632 return this; 627 633 Component c = super.getTableCellRendererComponent(table, value, isSelected, false, row, column); 628 634 boolean isDisabledAndHidden = (((Relation)table.getValueAt(row, 0))).isDisabledAndHidden();
Note:
See TracChangeset
for help on using the changeset viewer.
