Search:

Type: Posts; User: OutputStream

Search: Search took 0.18 seconds.

  1. Replies
    7
    Views
    1,488

    Re: Incorrect Key Input

    Did you follow Norm's link and did you have a look at the tutorial? It explains a lot on how to use a KeyListener.
  2. Replies
    7
    Views
    1,488

    Re: Incorrect Key Input

    if(key=='1')

    You are comparing an int to a char. Remove the single-quotes and compare key to an int instead.

    Also what error message are you getting?

    EDIT: keyDown is a deprecated method. I...
Results 1 to 2 of 2