Added shortcut to reset.

This commit is contained in:
Deathsbreed 2014-05-28 09:56:12 -05:00
parent 574c562299
commit 84dd04008f

View File

@ -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));