How to test if the cursor displayed on the screen is the Hand cursor?
I was trying with some code like this:
############################################################
Cursor cursorshape = this.getCursor();
System.out.println("The cursor is: "+cursorshape.getType());
if (cursorshape.getType() != Cursor.HAND_CURSOR ){
System.out.println("Any luck ? ");
}
############################################################
But so far had not any luck.
Please tell me correct code to test that.
Thanks.