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: Quaqua sheets



Dear Michael,

On 06.12.2006, at 22:21, Michael Hall wrote:
OK thanks, maybe I'll let Werner support this one for me. So far I have just used Quaqua for the JFileChooser. It wasn't clear to me from the doc description that it included the animated.

I thought it was obvious that JSheets are animated. :) I am going to add a note about the animation to the docs.

Btw. Version 3.7beta2 of the Quaqua look and feel supports native sheets when run with Java SE 6.
By means of the new Java AWT feature Dialog.ModalityType.DOCUMENT_MODAL: http://java.sun.com/javase/6/docs/ api/java/awt/Dialog.ModalityType.html#DOCUMENT_MODAL


If you are targeting Java SE 6, you don't need to use the JSheet class of Quaqua.
(Although, the API of Java SE 6 lacks support for Listener's on document modal dialogs like JSheet provides.)


There is some other thing, that is not documented in the docs:
JSheet components are cross-platform. If used on Mac OS X, they will display as animated translucent sheets, if used on non-Mac OS X operating systems, they will display as (boring) document modal dialogs.
Thus, you can use JSheet on all operating systems, without having to implement a "if (isMacOSX)" statement in your code.


With best regards,
Werner

_______________________________________________
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: Quaqua sheets (From: Manuel Hermann <email@hidden>)
 >Re: Quaqua sheets (From: Michael Hall <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.