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: Appearance of "segmentedTextured" JToggleButtons



> -----Original Message-----
> On Behalf Of Mike Swingler
> Sent: September 3, 2008 1:27 PM
> 
> On Sep 3, 2008, at 9:02 AM, Steve McLeod wrote:
> 
> > Hi there
> >
> > I've tried to use some Apple's client properties to get toggle
> > buttons on a toolbar, just like iCal's "Day", "Week", and "Month"
> > buttons. When unselected, the buttons look great. When selected,
> > however, the text colour is black instead of white. <snip>
> 
> You have to change it to white, or if you would like us to do it,
> please file a bug report at http://bugreporter.apple.com.


Mike, 

If the foreground colour has not been explicitly set (or perhaps if it is a
ColorUIResource) then the look and feel should be handling this.  There
should be an entry in the UI defaults table that corresponds to the selected
and unselected foreground colours so application code can pick up the
correct color for custom rendering.
What is the argument against having the Aqua LnF do this?  Unless there is
some conflict between the Java specifications and the Aqua specifications
not having the LnF do it is a bug - isn't it?

Regards,

Scott


 _______________________________________________
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: 
 >Appearance of "segmentedTextured" JToggleButtons (From: "Steve McLeod" <email@hidden>)
 >Re: Appearance of "segmentedTextured" JToggleButtons (From: Mike Swingler <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.