Re: setCursor deprecated...



6e wrote:

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...

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
--
Unemployed English Java programmer
http://jroller.com/page/tackline/
.



Relevant Pages

  • Re: Custom Cursor in Resource will not Load
    ... Looking into this, it seems that ultimately, it uses some of the Ole methods to load it as a picture first, and then load it as a cursor. ... In order to get a cursor that you would load through LoadCursor, you will have to compile through the command line. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: ORA-00904 over DBLINK
    ... I have a cursor which queries some tables over a DBLINK. ... database is Oracle 8.1.7.4 and package is being compiled on 10.2.0.3 ... to compile the package: ... but the package compilation fails with another Where clause error. ...
    (comp.databases.oracle.misc)
  • Re: USB mouse woes
    ... > Moving the mouse will produce a mouse cursor on syscons, ... Compile with USB_DEBUG and ratchet up the ums debug level and see what ...
    (freebsd-current)
  • Re: ORA-00904 over DBLINK
    ... | I have a cursor which queries some tables over a DBLINK. ... | database is Oracle 8.1.7.4 and package is being compiled on 10.2.0.3 ... | to compile the package: ... Database link between 8.1.7 and 10.2.0 is not supported. ...
    (comp.databases.oracle.misc)
  • ORA-00904 over DBLINK
    ... I have a cursor which queries some tables over a DBLINK. ... database is Oracle 8.1.7.4 and package is being compiled on 10.2.0.3 ... to compile the package: ... but the package compilation fails with another Where clause error. ...
    (comp.databases.oracle.misc)