Problem refreshing screen

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Eduardo Ramalho
Posts: 43
Joined: Fri Mar 14, 2003 3:14 pm
Location: Porto (Portugal)
Contact:

Problem refreshing screen

Post by Eduardo Ramalho » Mon Dec 15, 2003 1:20 pm

Hi!

I have an annoying behaviour with trace lines.

This is the situation:
1) The chart is in "tracing mode"
2) I have the Windows Taskbar hidden
3) When I move the mouse to the side, the task bar appears
4) Next, i move the mouse again to the chart
5) When the task bar disappears, the current trace line (where the mouse is) stays there forever and a second trace line appears following the mouse.

If I refresh the screen (like resizing), that trace line is erased.

Is there a way of detecting in Java, when the taskbar appears and disappers so that I can force a screen refresh.

Thanks,

Eduardo

Locked