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).
Please file a bug at <http://bugreporter.apple.com> requesting a more
formal way to draw Safari or Terminal style tabs. As this is
functionality that does not exist in AppKit, the best course of action
is to do what Cocoa developers do, and use modifications of the
default background color, or hardcoded values and art that looks most
appropriate right now.
Java Runtime Engineer
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