Changeset 27484 in osm for applications/editors/josm/plugins/cadastre-fr
- Timestamp:
- 2012-01-18T23:25:41+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePreferenceSetting.java
r26509 r27484 64 64 65 65 private JRadioButton grabRes1 = new JRadioButton(tr("high")); 66 67 66 private JRadioButton grabRes2 = new JRadioButton(tr("medium")); 68 69 67 private JRadioButton grabRes3 = new JRadioButton(tr("low")); 70 68 … … 152 150 cadastrewms.add(jLabelRes, GBC.std().insets(0, 5, 10, 0)); 153 151 ButtonGroup bgResolution = new ButtonGroup(); 154 ActionListener resActionListener = new ActionListener() {155 public void actionPerformed(ActionEvent actionEvent) {156 AbstractButton button = (AbstractButton) actionEvent.getSource();157 grabMultiplier4Size.setEnabled(button == grabMultiplier4);158 }159 };160 grabRes1.addActionListener( resActionListener);161 152 grabRes1.setToolTipText(tr("High resolution (1000x800)")); 162 grabRes2.addActionListener( resActionListener);163 153 grabRes2.setToolTipText(tr("Medium resolution (800x600)")); 164 grabRes3.addActionListener( resActionListener);165 154 grabRes3.setToolTipText(tr("Low resolution (600x400)")); 166 155 bgResolution.add(grabRes1);
Note:
See TracChangeset
for help on using the changeset viewer.