You can use a KeyListener. You need to have some object that listens for the event, ordinarily a Component (JFrame in the example below) in which you can call addKeyListener(KeyListener) to add the...
Type: Posts; User: copeg
You can use a KeyListener. You need to have some object that listens for the event, ordinarily a Component (JFrame in the example below) in which you can call addKeyListener(KeyListener) to add the...