Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing cursors



Courtney B. Arnold wrote:

Hello y'all,
In my project, I am changing the cursor to a custom cursor. I can initially change the cursor without any problems. But once I resize the window, or click on the Apple menu bar, it will change the cursor back to the default cursor. There may be other situations that the cursor will revert back to the default that I do not yet know. Below is the test code I am using. It works perfectly in the Windows environment, but reacts this way in the Mac OS.
I've checked the problem with three combinations of Mac OS X & Java - all three exhibit described behaviour.
Mac OS X 10.2.8/Java 1.4.1-69
Mac OS X 10.3.9/Java 1.4.1-99
Mac OS X 10.3.9/Java 1.4.2-<don't remember, latest with update 2>
It's a bug - clearly.


I've found something interesting though: if you add some component to the center of your frame (it should not cover all frame) and then change cursor for component only - everything works just like on Windows.

--
Illya Kysil, team lead/senior software developer
Java/C#/Delphi/C/C++/Forth/Assembler
-------------------------------------------------------------------------
Shakespeare / King Henry IV
GLENDOWER  I can call spirits from the vasty deep.
HOTSPUR    Why, so can I, or so can any man;
           But will they come when you do call for them?

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Changing cursors (From: "Courtney B. Arnold" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.