Search:

Type: Posts; User: chronoz13

Search: Search took 0.10 seconds.

  1. Replies
    3
    Views
    4,397

    Re: Simple program that detects my keystroke

    public void keyPressed(KeyEvent e){

    int id = e.getID();
    String keyString;

    if (id == KeyEvent.KEY_TYPED) {
    char c = e.getKeyChar();
    ...
  2. Replies
    3
    Views
    4,397

    Simple program that detects my keystroke

    how can i code a java program that detects my keystroke?
    for example i press enter,

    the program will display a string message "You Press Enter" + "<Enter key>"

    is it possible to make this...
Results 1 to 2 of 2