public void setCursor ( CursorMode cursorMode ) { Cursor c = CursorMode . getAWTCursor ( cursorMode ) ; if ( c . getType ( ) == panel . getCursor ( ) . getType ( ) ) return ; panel . setCursor ( c ) ; }
Change mouse cursor image