Ignore:
Timestamp:
2015-05-26T01:37:50+02:00 (6 years ago)
Author:
Don-vip
Message:

Accessibility - global use of JLabel.setLabelFor() + various fixes (javadoc, code style)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/corrector/TagCorrector.java

    r7005 r8426  
    1212import java.util.List;
    1313import java.util.Map;
     14import java.util.Map.Entry;
    1415import java.util.Set;
    15 import java.util.Map.Entry;
    1616
    1717import javax.swing.JLabel;
     
    115115                );
    116116                p.add(primitiveLabel, GBC.eol());
     117                rolesLabel.setLabelFor(primitiveLabel);
    117118
    118119                final RoleCorrectionTable table = new RoleCorrectionTable(roleCorrections);
    119120                final JScrollPane scrollPane = new JScrollPane(table);
    120121                p.add(scrollPane, GBC.eop().fill(GBC.HORIZONTAL));
     122                primitiveLabel.setLabelFor(table);
    121123
    122124                roleTableMap.put(primitive, table);
Note: See TracChangeset for help on using the changeset viewer.