diff options
| author | Paul Buetow <paul@buetow.org> | 2008-08-12 16:34:21 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-08-12 16:34:21 +0000 |
| commit | cffcc4b67afeb2732a6a4b006275a47b9a42918b (patch) | |
| tree | b526d4db7ae7c5c343e7decfc3cd2cba52d75121 /sources/simulator/VSSimulator.java | |
| parent | 043ebc9b180d1f9d7bf2353637d975b96ac98146 (diff) | |
small fixes in key events
Diffstat (limited to 'sources/simulator/VSSimulator.java')
| -rw-r--r-- | sources/simulator/VSSimulator.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/simulator/VSSimulator.java b/sources/simulator/VSSimulator.java index 48959f5..51236f4 100644 --- a/sources/simulator/VSSimulator.java +++ b/sources/simulator/VSSimulator.java @@ -1032,6 +1032,7 @@ public class VSSimulator extends JPanel implements VSSerializable { final JComboBox comboBox = new JComboBox(); JButton takeoverButton = new JButton(prefs.getString("lang.takeover")); + takeoverButton.setMnemonic(prefs.getInteger("keyevent.takeover")); takeoverButton.addActionListener(new ActionListener() { private boolean isRed; public void actionPerformed(ActionEvent ae) { |
