Class BrowserLauncher2


  • public class BrowserLauncher2
    extends java.lang.Object
    Provides a static method to start a browser. Relies on the original BrowserLauncher implementation, but provides additional support for applets and JNLP.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.applet.Applet applet
      The applet (has to be set from the outside).
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void openURL​(java.lang.String url)
      Open an url in a browser.
      static void setApplet​(java.applet.Applet applet)
      Set the current applet.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • applet

        protected static java.applet.Applet applet
        The applet (has to be set from the outside).
    • Constructor Detail

      • BrowserLauncher2

        public BrowserLauncher2()
    • Method Detail

      • setApplet

        public static void setApplet​(java.applet.Applet applet)
        Set the current applet.
      • openURL

        public static void openURL​(java.lang.String url)
                            throws java.io.IOException
        Open an url in a browser.
        Throws:
        java.io.IOException