James Hancock
asked on
Changing cursors in a java JFrame?
Hi
I'd like, in my game, when a key is pressed, for the cursor to become the crosshair cursor. or, in some cases, back to the arrow cursor.
If I add a key listener to my JFrame, what would the method body be to change the cursor?
Thanks
I'd like, in my game, when a key is pressed, for the cursor to become the crosshair cursor. or, in some cases, back to the arrow cursor.
If I add a key listener to my JFrame, what would the method body be to change the cursor?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanx 4 axxepting