Re: Mouse Cursor with hourglass and pointer




Vova Reznik wrote:
> To change cursor check out
> java.awt.Cursor
> java.awt.Component.setCursor(Cursor)

That would work great, but swing doesn't include a cursor of the
shape that I want.

> Changing cursor wont block GUI from Mouse/Key/Input events.
>
> To block events you should use glass pane.

Actually, I have found glass pane completely inadequate for blocking
events. I intercept the events in the event queue. That works much
better.

.