Changeset 5886 in josm for trunk/src/org/openstreetmap/josm/gui/bbox
- Timestamp:
- 2013-04-19T22:21:57+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/bbox/TileSelectionBBoxChooser.java
r5266 r5886 33 33 import javax.swing.JPanel; 34 34 import javax.swing.JSpinner; 35 import javax.swing.JTextField;36 35 import javax.swing.KeyStroke; 37 36 import javax.swing.SpinnerNumberModel; … … 50 49 import org.openstreetmap.josm.gui.widgets.SelectAllOnFocusGainedDecorator; 51 50 import org.openstreetmap.josm.tools.ImageProvider; 51 import org.openstreetmap.josm.gui.widgets.JosmTextField; 52 52 53 53 /** … … 210 210 static public final String TILE_BOUNDS_PROP = TileGridInputPanel.class.getName() + ".tileBounds"; 211 211 212 private JTextField tfMaxY; 213 private JTextField tfMinY; 214 private JTextField tfMaxX; 215 private JTextField tfMinX; 212 private JosmTextField tfMaxY; 213 private JosmTextField tfMinY; 214 private JosmTextField tfMaxX; 215 private JosmTextField tfMinX; 216 216 private TileCoordinateValidator valMaxY; 217 217 private TileCoordinateValidator valMinY; … … 267 267 gc.gridx = 1; 268 268 gc.weightx = 0.5; 269 pnl.add(tfMinX = new JTextField(), gc); 269 pnl.add(tfMinX = new JosmTextField(), gc); 270 270 valMinX = new TileCoordinateValidator(tfMinX); 271 271 SelectAllOnFocusGainedDecorator.decorate(tfMinX); … … 275 275 gc.gridx = 2; 276 276 gc.weightx = 0.5; 277 pnl.add(tfMaxX = new JTextField(), gc); 277 pnl.add(tfMaxX = new JosmTextField(), gc); 278 278 valMaxX = new TileCoordinateValidator(tfMaxX); 279 279 SelectAllOnFocusGainedDecorator.decorate(tfMaxX); … … 288 288 gc.gridx = 1; 289 289 gc.weightx = 0.5; 290 pnl.add(tfMinY = new JTextField(), gc); 290 pnl.add(tfMinY = new JosmTextField(), gc); 291 291 valMinY = new TileCoordinateValidator(tfMinY); 292 292 SelectAllOnFocusGainedDecorator.decorate(tfMinY); … … 296 296 gc.gridx = 2; 297 297 gc.weightx = 0.5; 298 pnl.add(tfMaxY = new JTextField(), gc); 298 pnl.add(tfMaxY = new JosmTextField(), gc); 299 299 valMaxY = new TileCoordinateValidator(tfMaxY); 300 300 SelectAllOnFocusGainedDecorator.decorate(tfMaxY); … … 428 428 static public final String TILE_BOUNDS_PROP = TileAddressInputPanel.class.getName() + ".tileBounds"; 429 429 430 private JTextField tfTileAddress; 430 private JosmTextField tfTileAddress; 431 431 private TileAddressValidator valTileAddress; 432 432 … … 452 452 gc.weightx = 1.0; 453 453 gc.gridx = 1; 454 pnl.add(tfTileAddress = new JTextField(), gc); 454 pnl.add(tfTileAddress = new JosmTextField(), gc); 455 455 valTileAddress = new TileAddressValidator(tfTileAddress); 456 456 SelectAllOnFocusGainedDecorator.decorate(tfTileAddress);
Note:
See TracChangeset
for help on using the changeset viewer.