Changeset 5421 in osm for applications/editors/josm/plugins
- Timestamp:
- 2007-11-10T03:17:25+01:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/livegps/livegps/LiveGpsPlugin.java
r3895 r5421 40 40 lgpsmenu = new JMenu("LiveGPS"); 41 41 lgpsmenu.setMnemonic(KeyEvent.VK_G); 42 menu.add(lgpsmenu, 2);42 menu.add(lgpsmenu, 5); 43 43 lgpscapture = new JCheckBoxMenuItem(tr("Capture GPS Track")); 44 44 lgpscapture.setSelected(false); … … 51 51 lgpsmenu.add(lgpscapture); 52 52 53 lgpscenter = new JMenuItem(tr("Center Once"), KeyEvent.VK_C); 53 lgpscenter = new JMenuItem(tr("Center Once")); 54 lgpscenter.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_C, 0)); 54 55 lgpscenter.addActionListener(new ActionListener() { 55 56 public void actionPerformed(ActionEvent ev) {
Note:
See TracChangeset
for help on using the changeset viewer.