Ticket #2019: bbox-selection.patch

File bbox-selection.patch, 1.3 KB (added by avarab@…, 17 years ago)

Patch to BoundingBoxSelection.java which fixes this issue

  • src/org/openstreetmap/josm/gui/download/BoundingBoxSelection.java

     
    4040            new JTextField(11) };
    4141    final JTextArea osmUrl = new JTextArea();
    4242    final JTextArea showUrl = new JTextArea();
    43     String noteUrl = tr("You can paste an URL here to download the area.");
    4443
    4544    public void addGui(final DownloadDialog gui) {
    4645
    4746        JPanel dlg = new JPanel(new GridBagLayout());
    48         osmUrl.setText(noteUrl);
    4947
    5048        final FocusListener dialogUpdater = new FocusAdapter() {
    5149            @Override public void focusLost(FocusEvent e) {
     
    118116        dlg.add(new JLabel(tr("max lon")), GBC.std().insets(10,0,5,0));
    119117        dlg.add(latlon[3], GBC.eol());
    120118
    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));
    122120        dlg.add(osmUrl, GBC.eop().insets(10,0,5,0).fill());
    123121        dlg.add(showUrl, GBC.eop().insets(10,0,5,5));
    124122        showUrl.setEditable(false);