Search:

Type: Posts; User: Colino

Search: Search took 0.09 seconds.

  1. Replies
    12
    Views
    2,352

    Re: Error on KeyListener

    i tried but eclipse underline it in yellow and tells me that isn't used.. and so i delete that implement
  2. Replies
    12
    Views
    2,352

    Re: Error on KeyListener

    i put paint method outside AL class, now works..
    many thanks norm, for the help! ;)
  3. Replies
    12
    Views
    2,352

    Re: Error on KeyListener

    i put @Override on paint mathod and eclipse show this error msg
    "The method paint(Graphics) of type JavaGame.AL must override or implement a supertype method"
  4. Replies
    12
    Views
    2,352

    Re: Error on KeyListener

    i noticed another thing

    this is the code:




    import java.awt.*;
    import java.awt.Graphics;
    import java.awt.event.KeyAdapter;
  5. Replies
    12
    Views
    2,352

    Re: Error on KeyListener

    hi,
    i have already done with println but seems that there isn't the call to that method...
    i tried the same code with eclipse into ubuntu and xp , in ubuntu it is printed black, in xp the oval not...
  6. Replies
    12
    Views
    2,352

    Re: Error on KeyListener

    many thanks, now with lower case seems to intercept keys but still doesn't paint... not enter in paint method
  7. Replies
    12
    Views
    2,352

    Error on KeyListener

    Hi,

    i'm starting studing java, i have found a tutorial on youtube where explain to intercept pressions from Keyboard. I try to do this but seems that's something wrong (made by me) somewhere but i...
Results 1 to 7 of 7