There are already discussions on the latest JDK6 update on Mac. We
are using AquaImageFactory.drawFrameTitleBackground to paint the
and inactive title bar background for DockableFrame. We understood the
method is considered as the implementation detail and could be
the future but we didn't have other choice. With the new release,
is no longer there. We just want to use the same way as you paint the
JInternalFrame title pane background. I wonder what is the recommended
approach for this removed method. Looking forward to your advice.
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.
For the JIDE docking framework, I'd really recommend drawing a Safari
or Terminal-like tab look that doesn't try to mimic a window title bar
with its close, minimize, and zoom controls. The concepts of minimize
and zoom really don't map onto the idea of a dockable panel (what's
the distinction between close and minimize? when would you ever want
to maximize? no such thing as zoom-to-fit?).
A tab-like interface with a single close/collapse button, should be
ideal when docked inside of the window - and if you support dragging
the panels into their own palette-style windows, then I'd recommend
using the standard palette window chrome using the "Window.style"
client property (see <http://developer.apple.com/technotes/tn2007/tn2196.html
>). For all these reasons, don't expect to see a public method call
that will draw a window title bar (you'll notice that the
AquaImageFactory routine continued to draw Tiger-style title bars
after Leopard had changed it's title bars to dark grey).
Thanks much for looking into this,
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