Changeset 35506 in osm for applications/editors
- Timestamp:
- 2020-07-09T22:06:21+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/HouseNumberTaggingTool/src/org/openstreetmap/josm/plugins/housenumbertool/TagDialog.java
r34517 r35506 71 71 "greenhouse", "hangar", "hut", "roof", "shed", "stable"}; 72 72 73 private static final int FPS_MIN = - 2;74 private static final int FPS_MAX = 2;73 private static final int FPS_MIN = -10; 74 private static final int FPS_MAX = 10; 75 75 76 76 private static final Logger LOGGER = Logger.getLogger(TagDialog.class.getName()); … … 98 98 private JComboBox<String> building; 99 99 private JRadioButton streetRadio; 100 private JRadioButton placeRadio;101 100 102 101 /** … … 112 111 JPanel editPanel = createContentPane(); 113 112 113 setPreferredSize(new Dimension(700, 300)); 114 setMinimumSize(new Dimension(700, 300)); 115 114 116 setContent(editPanel); 115 117 setButtonIcons("ok", "cancel"); … … 277 279 editPanel.add(streetRadio, c); 278 280 279 placeRadio = new JRadioButton("addr:place");281 JRadioButton placeRadio = new JRadioButton("addr:place"); 280 282 placeRadio.setToolTipText(TAG_STREET_OR_PLACE); 281 283 placeRadio.setSelected(!dto.isTagStreet()); … … 290 292 ButtonGroup g = new ButtonGroup(); 291 293 g.add( streetRadio ); 292 g.add( placeRadio);294 g.add(placeRadio); 293 295 294 296 street = new AutoCompletingComboBox(); … … 364 366 if (m.matches()) { 365 367 String prefix = m.group(1) != null ? m.group(1) : ""; 366 int n = Integer. valueOf(m.group(2)) + increment;368 int n = Integer.parseInt(m.group(2)) + increment; 367 369 String suffix = m.group(3) != null ? m.group(3) : ""; 368 370 return prefix + n + suffix;
Note:
See TracChangeset
for help on using the changeset viewer.