How to get current mouse cursor type in java?

when shooting a screen in java, the mouse cursor does not appear. I draw the mouse cursor on the screen. How to find out which image of the cursor to draw depending on its state (busy, moving through the text, placed in the link ... etc.)

+4
source share
1 answer

What about Cursor.getDefaultCursor.getType() and using a switch statement with different types in the Cursor class?

Docs are not entirely clear what this method does.

-1
source

All Articles