When I set a new Cursor on a component this is not shown immediately. Only when the mouse is moved for the first time after that, the change becomes visible. This is problematic if you want to indicate a change of the edit mode via a change of the cursor image. In my app I can move, rotate and scale the canvas if I hold down the shift key and this should be indicated by different cursor images. But when the user presses the shift key nothing happens, although setCursor has been called. Only when the user moves the mouse after this, the cursor will change. This results in a confusing user experience.
- duplicates
-
JDK-8111154 Cursor change not applyed immediatly
- Closed