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: Seeking Dialog GUI Opinions



Hi Jeremy,

On 23.08.2008, at 08:58, email@hidden wrote:
I'm working on an alternative to the JOptionPane to provide a slightly more Mac-ish dialog.


This is interesting. I made my own alternative some time ago. 
http://www.randelshofer.ch/quaqua/javadoc/ch/randelshofer/quaqua/JSheet.html

Basically, JSheet is a replica of JOptionPane, with the difference that the option panes are document modal. That's why a listener needs to be used to retrieve the selection choice:


This component is cross-platform. On Mac OS X, document modal dialogs are displayed as sheets. On other operating systems, they are displayed as regular document modal dialogs.


I'm drawing heavily on Apple Human Interface Guidelines ( http://tinyurl.com/5hlpe4 ), and I was wondering if any Mac veterans out there have any comments/opinions on the most recent draft:

Hm. Some of your examples have badly labeled buttons. The buttons should have descriptive names. By using "Yes", "No", "Cancel" the dialogs are forcing the users to read the whole text of the dialogs, which makes them inefficient.


"Buttons for addressing the alert. Button names should correspond to the action the user performs when pressing the button."


This is also recommended by the Windows Vista guidelines, see

"Prefer specific responses to Yes and No buttons."


Key assets include:
1.  An optional help button in the lower-left corner, as well as a mechanism to add other buttons (such as a "Reset" button) on the left side of the dialog.
2.  Use of a new class: FixedWidthTextArea.  With this class the width of the body text is specified, and the component adjusts its preferred height to fit the text.
3.  Constants similar to JOptionPane (YES_NO_CANCEL_OPTION, WARNING_MESSAGE, etc.) to ease the transition from JOptionPane-dependent code.
4.  If a cancel button is available, the escape key and 'command-period' map to it.

Nice stuff.


5.  An optional "Do not show again" checkbox and a "Always apply this decision" checkbox.  (I realize there are several interface guidelines that stress that these are at best questionable design choices, but my client has asked for them, so they stay.)  Note: in this demo the preferences are cleared every session.

Get rid of this feature. - Dialogs which are candidates for such a checkbox, shouldn't be in the UI in the first place.

I utterly hate this option in Internet Explorer. Worst thing about them is, that the dialogs show again about after a month. So, I have to choose this option over and over again - wasting my time and my nerves.

I have to say, not supporting bad designs is some of the best "features" of the Mac UI toolkit. :)


6.  Two distinct blocks of text: one bold and one in a slightly smaller font.  Leopard and Vista both encourage the use of two blocks of text, although their usage is subtly different.

Questionable design decisions (comments welcome):
1.  Mnemonics are not activated on Mac.  Normally on a Mac using the Aqua L&F, you can specify button mnemonics, and when the option key is held down they are made visible/active.



2.  Instead of mnemonics: on Macs for every button with a unique first character, if you press command+(x) then that button is clicked.  So command-Y selects "Yes".  I realize this is not in the Apple guidelines, but I quite like this feature in GraphicConverter, and I find it more Mac-like than providing mnemonics.

Uh. How are users supposed to figure out these shortcuts then?


3.  Dialogs are undecorated when a "Cancel" button is not available.  This guarantees that the user cannot use the red close button to try to dismiss the dialog if their choices are, for example: "Yes" and "No".

This looks very odd. On a Mac, dialogs always have a title bar (unless they are sheets), even if they don't have a red close button.

This way, users can still move the dialog window around, because - ever so often - they need to be able to see what's behind the dialog window in order to make a decision.
(That's my main critique to NSSheet in more recent versions of Mac OS X. In earlier versions of OS X, they were transparent enough, to allow reading what's behind them).

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: 
 >Seeking Dialog GUI Opinions (From: 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.