Ticket #2138: DragDropFix.patch

File DragDropFix.patch, 749 bytes (added by xeen, 17 years ago)

Fix

  • src/org/openstreetmap/josm/gui/GettingStarted.java

     
    200200            tr("Downloading \"Message of the day\"") +
    201201            "</h2>");
    202202        JScrollPane scroller = new JScrollPane(lg);
    203         Component linkGeneral = new LinkGeneral(content);
    204203        scroller.setViewportBorder(new EmptyBorder(10,100,10,100));
    205204        add(scroller, BorderLayout.CENTER);
    206205
     
    219218        t.setDaemon(true);
    220219        t.start();
    221220
    222         new FileDrop(linkGeneral);
     221        new FileDrop(scroller);
    223222    }
    224223}