Added shortcut to reset.
This commit is contained in:
parent
574c562299
commit
84dd04008f
@ -96,6 +96,7 @@ public class SpaceShipSim {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
resetItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_R, InputEvent.CTRL_MASK));
|
||||||
exitItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Q, InputEvent.CTRL_MASK));
|
exitItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Q, InputEvent.CTRL_MASK));
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user