KeyStroke « javax.swing « Java by API






1.KeyStroke.getKeyStroke(char ch)
2.KeyStroke.getKeyStroke('control alt 7')
3.KeyStroke.getKeyStroke('N', Event.CTRL_MASK)
4.KeyStroke.getKeyStroke(KeyEvent.VK_P,InputEvent.CTRL_MASK)
5.KeyStroke: getKeyStroke(int keyCode,int modifiers,boolean onKeyRelease)