Mailing Lists: Apple Mailing Lists

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

[ANN] JCntlX Kit & BetterButton



Hello,

Under Mac OS Classic, MRJ java.awt.Button components cannot provide visual
feedback for their focused state. The story is just the same under Mac OS X.

I suggested a solution for the Classic case (the CDEF23Button Kit). Here's a
temporary (?) solution for the X case.

THE com.tactix2000.awt.BetterButton COMPONENT

The BetterButton class is a subclass of java.awt.Button. It provides visual
feedback for the focused state by drawing itself in a *non-pulsing* darker
color. The drawing is done 100% natively. This is still not as it should be,
of course, since the Aqua Guidelines clearly specify that the default button
should be *pulsing*. Nevertheless, it's *better* than no feedback at all --
hence the name!

The kit is available here:

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

It includes a demo application that can be used to compare the
java.awt.Button and com.tactix2000.awt.BetterButton classes.

NOTE

I am working on a *pulsing* button class, using a different approach than
the one used for BetterButton, but it's not quite ready for release yet.

Claude




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.