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: floating palette windows



ok, it's probably best to play around a bit with quaqua. at first look, it seems very fine. but i instantly have a feature request ;-)))))))) all my graphite look is gone, everything is poppy blue ;)

i don't think that floating windows is totally odd on windows or linux ... i think i go for a simple pure java imitation of the panther/ tiger bar look at first . like in the attached example. i also like to stay java 1.4 compatible, so setAlwaysOnTop has to be buried in a block of java.lang.reflect stuff...

JFrame f = new JFrame();
AquaWindowBar awb = new AquaWindowBar( "Test", true, AquaWindowBar.VERTICAL );
f.setUndecorated( true );
f.getContentPane().add( awb, BorderLayout.WEST );
f.setSize( 80, 320 );
f.setVisible( true );


i'm interested in your tracking-focus-of-all-windows class though. how do you get the frame's closing gadget images in quaqua, directly from the macos or as an included image resource file?

best regards, -sciss-


Am 31.05.2006 um 20:41 schrieb Werner Randelshofer:

On 31.05.06 20:23 Uhr, "Sciss" at <email@hidden> wrote:
hmmm, that looks very good. unfortunately i want to stay platform
independant ;-( as i understand, quaqua will only work on mac os x ?

Please understand, that there is currently no other platform than Mac OS X
that supports the notion of floating palettes.


For example, on Windows, floating palettes would look very much out of
place. Also, they would be hard to use; on Windows. e.g. every framed window
is put into the task bar at the bottom of the screen. Mac OS X only puts the
minimized application windows in the task bar.



About platform independence of the Quaqua look and feel:

- Technically, the Quaqua look and feel is implemented in a platform
independent way.

- Legally, the artwork used by Quaqua is copyright by Apple Computers. And
Apple is not known to have licensed this artwork to other platforms than Mac
OS X.


- And in terms of functionality. Some features that the Quaqua look and feel
provides just don't make sense on other platforms.
e.g. resolving a Mac OS X alias does not make sense on Windows, because thee
are no such aliases.



After all, the purpose of Quaqua is a native platform integration.
Please notice, that there are other look and feels that are not platform
independent. The most notable is probably the Windows look and feel which is
part of the J2SE JVM's provided by Sun.



Anyway. I personally do not like to be bound to a specific platform either.
So, I am trying to keep this spirit with the Quaqua look and feel as well.
For example, the JSheet functionality in the Quaqua look and feel nicely
degrades to document modal dialogs on other operating systems.



With kind regards, Werner Randelshofer



Attachment: AquaWindowBar.java
Description: Binary data

Attachment: GUIUtil.java
Description: Binary data

Attachment: Disposable.java
Description: Binary data

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: floating palette windows (From: Werner Randelshofer <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.