Hi,
im using Java 1.5, and Im trying to set the cursor to a wait or a hand
cursor while my application is "working". I have
myjframe.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
which does compile without deprecation, however it does not effectively
change the cursor, as I would like it to. Ive also tried Hand Cursor,
which does not change the cursor either...
any ideas? Thanks!
Thomas Hawtin - 26 Jul 2005 15:46 GMT
> im using Java 1.5, and Im trying to set the cursor to a wait or a hand
> cursor while my application is "working". I have
[quoted text clipped - 4 lines]
> change the cursor, as I would like it to. Ive also tried Hand Cursor,
> which does not change the cursor either...
My guess is that a PL&F is setting it back. It's amazing how badly
behaved PL&Fs are. I suggest getting out a debugger and seeing which
bugger is doing it (quite possibly on the glass pane).
Tom Hawtin

Signature
Unemployed English Java programmer
http://jroller.com/page/tackline/