Changeset 10620 in josm
- Timestamp:
- 2016-07-24T12:09:19+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 1 added
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/GettingStarted.java
r10611 r10620 6 6 import java.awt.BorderLayout; 7 7 import java.awt.EventQueue; 8 import java.awt.GraphicsEnvironment;9 8 import java.awt.event.InputEvent; 10 9 import java.awt.event.KeyEvent; … … 25 24 import org.openstreetmap.josm.Main; 26 25 import org.openstreetmap.josm.data.Version; 26 import org.openstreetmap.josm.gui.datatransfer.FileTransferHandler; 27 27 import org.openstreetmap.josm.gui.preferences.server.ProxyPreference; 28 28 import org.openstreetmap.josm.gui.preferences.server.ProxyPreferenceListener; … … 125 125 // clear the build-in command ctrl+shift+O, because it is used as shortcut in JOSM 126 126 lg.getInputMap(JComponent.WHEN_FOCUSED).put(KeyStroke.getKeyStroke(KeyEvent.VK_O, InputEvent.SHIFT_MASK | InputEvent.CTRL_MASK), "none"); 127 lg.setTransferHandler(null); 127 128 128 129 JScrollPane scroller = new JScrollPane(lg); … … 132 133 getMOTD(); 133 134 134 if (!GraphicsEnvironment.isHeadless()) { 135 new FileDrop(scroller); 136 } 135 setTransferHandler(new FileTransferHandler()); 137 136 } 138 137
Note:
See TracChangeset
for help on using the changeset viewer.