Changeset 3424 in josm
- Timestamp:
- 2010-08-08T13:51:08+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/download/BoundingBoxSelection.java
r3411 r3424 23 23 import javax.swing.AbstractAction; 24 24 import javax.swing.BorderFactory; 25 import javax.swing.JButton; 25 26 import javax.swing.JLabel; 26 27 import javax.swing.JPanel; … … 111 112 dlg.add(latlon[3], GBC.eol()); 112 113 113 dlg.add(new JLabel(tr("URL from www.openstreetmap.org (you can paste an URL here to download the area)")), GBC.eol().insets(10,20,5,0)); 114 final JButton btnClear = new JButton(tr("Clear textarea")); 115 btnClear.addMouseListener(new MouseAdapter() { 116 @Override 117 public void mouseClicked(MouseEvent arg0) { 118 tfOsmUrl.setText(""); 119 } 120 }); 121 dlg.add(btnClear, GBC.eol().insets(10,20,0,0)); 122 123 dlg.add(new JLabel(tr("URL from www.openstreetmap.org (you can paste an URL here to download the area)")), GBC.eol().insets(10,5,5,0)); 114 124 dlg.add(tfOsmUrl, GBC.eop().insets(10,0,5,0).fill()); 115 125 tfOsmUrl.addMouseListener(
Note:
See TracChangeset
for help on using the changeset viewer.