Ticket #2019: bbox-selection.patch
File bbox-selection.patch, 1.3 KB (added by , 17 years ago) |
---|
-
src/org/openstreetmap/josm/gui/download/BoundingBoxSelection.java
40 40 new JTextField(11) }; 41 41 final JTextArea osmUrl = new JTextArea(); 42 42 final JTextArea showUrl = new JTextArea(); 43 String noteUrl = tr("You can paste an URL here to download the area.");44 43 45 44 public void addGui(final DownloadDialog gui) { 46 45 47 46 JPanel dlg = new JPanel(new GridBagLayout()); 48 osmUrl.setText(noteUrl);49 47 50 48 final FocusListener dialogUpdater = new FocusAdapter() { 51 49 @Override public void focusLost(FocusEvent e) { … … 118 116 dlg.add(new JLabel(tr("max lon")), GBC.std().insets(10,0,5,0)); 119 117 dlg.add(latlon[3], GBC.eol()); 120 118 121 dlg.add(new JLabel(tr(" URL from www.openstreetmap.org")), GBC.eol().insets(10,20,5,0));119 dlg.add(new JLabel(tr("You can paste an URL from www.openstreetmap.org here to download the corresponding area")), GBC.eol().insets(10,20,5,0)); 122 120 dlg.add(osmUrl, GBC.eop().insets(10,0,5,0).fill()); 123 121 dlg.add(showUrl, GBC.eop().insets(10,0,5,5)); 124 122 showUrl.setEditable(false);