JDIC API V2006 Release 0308

类 org.jdesktop.jdic.desktop.DesktopException
的使用

使用 DesktopException 的软件包
org.jdesktop.jdic.desktop Provides classes for accessing desktop applications and facilities. 
 

org.jdesktop.jdic.desktopDesktopException 的使用
 

抛出 DesktopExceptionorg.jdesktop.jdic.desktop 中的方法
static void Desktop.browse(java.net.URL url)
          Launches the system default browser to show the given URL.
static void Desktop.edit(java.io.File file)
          Launches the associated editor to edit the given file.
static void Desktop.mail()
          Launches the message compose window of the default mailer.
static void Desktop.mail(Message msg)
          Launches the message compose window of the default mailer, and fills in the message fields with the field values of the given Message object.
static void Desktop.open(java.io.File file)
          Launches the associated application to open a file If the specified file is a directory, the file manager of the current platform is launched to open it.
static void Desktop.print(java.io.File file)
          Prints the given file.
 


JDIC API V2006 Release 0308

For more information and documentation on JDIC, see JDIC website.

That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, working code examples, license terms and bug report information.

Copyright (c) 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.