Changeset 3022 in josm


Ignore:
Timestamp:
2010-02-19T11:19:33+01:00 (10 years ago)
Author:
Gubaer
Message:

fixed #4545: tables in josm gets blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/TagCellRenderer.java

    r2990 r3022  
    7575
    7676    /**
    77      * renders the background color.
    78      *
    79      * @param tagModel the tag model
    80      * @param model the tag editor model
    81      */
    82     protected void renderBackgroundColor(TagModel tagModel, TagEditorModel model) {
    83         setBackground(UIManager.getColor("Table.background")); // standard color
    84     }
    85 
    86     /**
    8777     * replies the cell renderer component for a specific cell
    8878     *
     
    10696            setForeground(UIManager.getColor("Table.selectionForeground"));
    10797        } else {
    108             renderBackgroundColor(getModel(table).get(rowIndex), getModel(table));
     98            setBackground(UIManager.getColor("Table.background")); // standard color
     99            setForeground(UIManager.getColor("Table.foreground"));
    109100        }
    110101
Note: See TracChangeset for help on using the changeset viewer.