Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / July 2005

Tip: Looking for answers? Try searching our database.

setCursor deprecated...

Thread view: 
6e - 26 Jul 2005 15:33 GMT
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/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.