If the calling thread does not have the necessary permissions, and this is invoked from within an applet, {@code AppletContext.showDocument()} is used. Similarly, if the callingdoes not have the necessary permissions, and this is invoked from within a Java Web Started application, {@code BasicService.showDocument()}is used.
@param uri the URI to be displayed in the user default browser
@throws NullPointerException if {@code uri} is {@code null}
@throws UnsupportedOperationException if the current platformdoes not support the {@link Desktop.Action#BROWSE} action
@throws IOException if the user default browser is not found,or it fails to be launched, or the default handler application failed to be launched
@throws SecurityException if a security manager exists and itdenies the AWTPermission("showWindowWithoutWarningBanner")
permission, or the calling thread is not allowed to create a subprocess; and not invoked from within an applet or Java Web Started application
@throws IllegalArgumentException if the necessary permissionsare not available and the URI can not be converted to a {@code URL}
@see java.net.URI
@see java.awt.AWTPermission
@see java.applet.AppletContext
WARNING: �If you make structural modifications to the BTree during browsing, you will get inconsistent browing results. @return Browser positionned at the beginning of the BTree.
|
|
|
|