KeyStroke shiftF5key = KeyStroke.getKeyStroke(KeyEvent.VK_F5, InputEvent.SHIFT_MASK);
newmap.addActionForKeyStroke(shiftF5key, new ShiftF5Action());
KeyStroke F5key = KeyStroke.getKeyStroke(KeyEvent.VK_F5, 0);
newmap.addActionForKeyStroke(F5key, new F5Action());
KeyStroke F6Key = KeyStroke.getKeyStroke(KeyEvent.VK_F6, 0);
newmap.addActionForKeyStroke(F6Key, new F6Action());
KeyStroke F8Key = KeyStroke.getKeyStroke(KeyEvent.VK_F8, 0);