draw a line as the mouse moves, but still there when stopped

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
archangellin
Posts: 8
Joined: Fri Nov 14, 2008 4:47 am

draw a line as the mouse moves, but still there when stopped

Post by archangellin » Tue Dec 02, 2008 7:33 am

Hello, all

I am trying to draw a line as the mouse moves, but the line still stay there when the mouse stops moving.
It is possible for me to draw a line as the mouse moves by overriding chartMouseMoved(), but the line disappears as I stop the mouse.
Or you can say that shadow of that line remains.

Is there any way to fix this?

It is urgent. Should any one of you know the method, pls show me how.


Many thanks.

Locked