Image with JWindow -> trails
Hi all !
First let me apologize for my bad english.
Secondly, I tried to show on the screen transpaernt animated gif, in another words, sprite(character) which walk on the desktop, well, i succsed, but there is a problem, if the sprite move is head, then on the screen you will see the sprite before and after the movmenet, there are trails.
for those who not understand the problem:
my code very simple at this moment:
public class WS extends JWindow
public void paint(Graphics g)
g.drawImage(img2, 0, 0, this);
i hope that you could help me.