image flickering

I'm using a different thread to create an animation in which image moves one pixel at a time after every 80 milliseconds or so.but the image flickers every time it is drawn at new coordinates.can anybody help me out.thanks in advance
[262 byte] By [bontz] at [2007-9-26 1:55:58]
# 1
You aren't using double buffering and overriding update(), are you?The article http://www.cfxweb.net/article.php?sid=169 might be of interest to you.
jsalonen at 2007-6-29 3:10:36 > top of Java-index,Archived Forums,Java Programming...
# 2
Thanks dude..............I had overridden update() method but I didnt try Double buffering.......now I'll try that.
bontz at 2007-6-29 3:10:36 > top of Java-index,Archived Forums,Java Programming...