Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: replacement for AquaImageFactory.drawFrameTitleBackground
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: replacement for AquaImageFactory.drawFrameTitleBackground

Hi Mike,

On 16. juni. 2009, at 19.35, Mike Swingler wrote:

JInternalFrames are implemented in the Aqua Look and Feel to fulfill the compatibility requirements of the Java language specification TCK. The JInternalFrame implementation is a gross violation of the Apple Human Interface guidelines which explicitly forbids any sort of MDI-like window-inside-of-a-window shenanigans. I don't recommend any Swing developers use them on any platform.

While I both understand this and agree, it would be nice if the Aqua LAF would provide a way to access the colors used to draw the title bar gradients. Either as color UIResources or "painters" (Borders) like you do for the source list background etc.

Right now it's very hard (read impossible) to properly implement a unified toolbar or tabs like you mention without hardcoding color values and/or resorting to native hacks (especially as long as the "apple.awt.brushMetalLook" don't work for Java 6/64 bit).

Best regards,

Harald K

_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
 >replacement for AquaImageFactory.drawFrameTitleBackground (From: <email@hidden>)
 >Re: replacement for AquaImageFactory.drawFrameTitleBackground (From: Mike Swingler <email@hidden>)

Visit the Apple Store online or at retail locations.

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.