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: Colored buttons on a Mac?



on 5/14/01 8:14 AM, Robert Somerville at
email@hidden wrote:

> I find making colored buttons very easy on a PC but not on a Mac. If this
> was a MRJ fault then there would be complaints all over the Internet. I
> can't find any so I must be doing something wrong. I am using MacOS 8.6 or
> 9.1, CodeWarrior Pro for Java R5 and MRJ 2.2.4. Here is my applet. It
> produces a blue button with red writing on a PC but gray writing on a gray
> button an a Mac. Does anybody have any ideas?

Yes, it's a well known MRJ limitation. Changing the background color on
Apple Platinum java.awt.Button components is probably quite difficult
(first, you would have to define precisely what that means). But changing
the foreground (text) color is not that hard. I put together the
(experimental) Colorfast Kit to prove that point. It also handles
java.awt.Checkbox components.

The kit is available here:

<http://www.tactix2000.com/colorfast_kit.html>

Claude


References: 
 >Colored buttons on a Mac? (From: Robert Somerville <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.