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



jeremy.wood wrote:

Known bugs include:
1.  The help button currently will not launch a browser.  (This may be
as much a design/architecture flaw as a bug; the class that does that
browser-launching is not mine to distribute.)

Don't hard-code this, allow the programmer to override the default launcher with a listener (IIRC Swing has a HyperlinkListener class for this purpose in the EditorKit package). For example, a Java Web Start app run in the default sandbox needs to go through the JNLP BasicService to do this, it cannot use the more conventional mechanisms. In a Java app with full local privileges, Apple has an extension to do this, or one can exec { "open", url.toString() }. There is a similar command one can exec on Windows. Also, there is the EJAlbert BrowserLauncher code.
_______________________________________________
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


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.