Ignore:
Timestamp:
2008-09-21T14:03:38+02:00 (17 years ago)
Author:
stoecker
Message:

close bug #1588, code cleanup by bruce89

File:
1 edited

Legend:

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

    r861 r999  
    6868        class ImageLabel extends JPanel {
    6969                private JLabel tf;
    70                 private JLabel lbl;
    7170                private int chars;
    7271                public ImageLabel(String img, String tooltip, int chars) {
     
    7473                        setLayout(new GridBagLayout());
    7574                        setBackground(Color.decode("#b8cfe5"));
    76                         add(lbl = new JLabel(ImageProvider.get("statusline/"+img+".png")), GBC.std().anchor(GBC.WEST).insets(0,1,1,0));
     75                        add(new JLabel(ImageProvider.get("statusline/"+img+".png")), GBC.std().anchor(GBC.WEST).insets(0,1,1,0));
    7776                        add(tf = new JLabel(), GBC.std().fill(GBC.BOTH).anchor(GBC.WEST).insets(2,1,1,0));
    7877                        setToolTipText(tooltip);
Note: See TracChangeset for help on using the changeset viewer.