Search:

Type: Posts; User: all_pro

Search: Search took 0.28 seconds.

  1. How to convert thread.sleep() into a timer in an Applet

    Since I have used the thread.sleep() method, my graphics is updating way to slowly. How would I convert this into a timer?

    The point of the applet is just to move the black dot around the screen...
  2. Replies
    4
    Views
    1,223

    Re: help with KeyListener

    Alright so here is my modified code. It now does what I wanted but there is a white flash every time it moves, and you can only see the dot on like every tenth move. How can I make the animation...
  3. Replies
    4
    Views
    1,223

    help with KeyListener

    This is the code that I have written. The goal is that if you hit the arrow keys, the dot will move whichever direction you press. What is happening is that it will draw a dot in the middle of the...
Results 1 to 3 of 3