i try to move it to the right(x++) every seconds
i try to move it with thread..
If you put that part of the constructor in a thread, then you can call thread.sleep(1000); (1000 milliseconds for a 1 second delay) and then refresh, which should move the target across the screen.
thread.sleep(1000);