SWT – How to capture keyboard event
In SWT, keyboard event is represent by KeyEvent class. We can use KeyListener to receive and process a KeyEvent. The KeyEvent class has three member fields to provide information about the key that generated by event. 1) character – Display a char value of the pressed key. 2) stateMask – Check whether any other keys …