Changeset 3278 in josm for trunk/src/org
- Timestamp:
- 2010-05-24T22:01:47+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapFrame.java
r3252 r3278 6 6 import java.awt.Container; 7 7 import java.awt.Dimension; 8 import java.awt.event.KeyEvent; 8 9 import java.awt.event.MouseWheelEvent; 9 10 import java.awt.event.MouseWheelListener; … … 16 17 import javax.swing.BoxLayout; 17 18 import javax.swing.ButtonGroup; 19 import javax.swing.JComponent; 18 20 import javax.swing.JPanel; 19 21 import javax.swing.JSplitPane; 20 22 import javax.swing.JToolBar; 23 import javax.swing.KeyStroke; 21 24 import javax.swing.border.Border; 22 25 import javax.swing.plaf.basic.BasicSplitPaneDivider; … … 138 141 }); 139 142 143 // JSplitPane supports F6 and F8 shortcuts by default, but we need them for Audio actions 144 splitPane.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_F6, 0), new Object()); 145 splitPane.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_F8, 0), new Object()); 146 140 147 add(splitPane, BorderLayout.CENTER); 141 148
Note:
See TracChangeset
for help on using the changeset viewer.