Ignore:
Timestamp:
2015-05-26T01:37:50+02:00 (9 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/gui/preferences/display/GPXSettingsPanel.java

    r8419 r8426  
    279279            label = new JLabel(tr("Waypoint labelling"));
    280280            add(label, GBC.std().insets(20,0,0,0));
     281            label.setLabelFor(waypointLabel);
    281282            add(waypointLabel, GBC.eol().fill(GBC.HORIZONTAL).insets(5,0,0,5));
    282283            waypointLabel.addActionListener(new ActionListener() {
     
    299300            label = new JLabel(tr("Audio waypoint labelling"));
    300301            add(label, GBC.std().insets(20,0,0,0));
     302            label.setLabelFor(audioWaypointLabel);
    301303            add(audioWaypointLabel, GBC.eol().fill(GBC.HORIZONTAL).insets(5,0,0,5));
    302304            audioWaypointLabel.addActionListener(new ActionListener() {
Note: See TracChangeset for help on using the changeset viewer.