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: Determine appearance settings



Manuel Hermann <email@hidden> wrote:

>> do the trick of painting a component into an offscreen buffer and diving
>> for pixels, which is most definitely a hack, and not necessarily a
>> reliable
>> one (component metrics can change between systems and releases, so
>> the pixel location you choose now may not have the right color later).
>
>That's what I'm doing in my customized components now. What should I say, it
>works but I'm really not satisfied with this solution.

Why not?

What is unsatisfactory about it? The risks of looking at the wrong pixels?
The fact that it's polled? The inelegance of it?

What will you do if there's no other alternative?

-- GG
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



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.