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/plugin/PluginUpdatePolicyPanel.java

    r8404 r8426  
    9696        pnl.add(lblUpdateInterval = new JLabel(tr("Update interval (in days):")));
    9797        pnl.add(tfUpdateInterval = new JosmTextField(5));
     98        lblUpdateInterval.setLabelFor(tfUpdateInterval);
    9899        SelectAllOnFocusGainedDecorator.decorate(tfUpdateInterval);
    99100        return pnl;
     
    126127        bgTimeBasedUpdatePolicy.add(btn);
    127128
    128         JMultilineLabel lbl = new JMultilineLabel(tr("Please decide whether JOSM shall automatically update active plugins after a certain period of time."));
     129        JMultilineLabel lbl = new JMultilineLabel(
     130                tr("Please decide whether JOSM shall automatically update active plugins after a certain period of time."));
    129131        gc.gridy=0;
    130132        pnl.add(lbl, gc);
Note: See TracChangeset for help on using the changeset viewer.