rt/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/Launcher.java
branchfx
changeset 845 859804c78010
parent 844 023cda5b8b0b
child 859 d39fbe061519
     1.1 --- a/rt/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/Launcher.java	Wed Mar 13 16:20:03 2013 +0100
     1.2 +++ b/rt/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/Launcher.java	Thu Mar 14 09:22:28 2013 +0100
     1.3 @@ -102,7 +102,7 @@
     1.4       * @throws IOException if something goes wrong
     1.5       */
     1.6      public static Closeable showURL(URLClassLoader classes, String startpage) throws IOException {
     1.7 -        Bck2BrwsrLauncher l = new Bck2BrwsrLauncher(null);
     1.8 +        Bck2BrwsrLauncher l = new WebViewLauncher();
     1.9          l.addClassLoader(classes);
    1.10          l.showURL(startpage);
    1.11          return l;
    1.12 @@ -116,7 +116,7 @@
    1.13       * @exception IOException if something goes wrong.
    1.14       */
    1.15      public static Closeable showDir(File directory, String startpage) throws IOException {
    1.16 -        Bck2BrwsrLauncher l = new Bck2BrwsrLauncher(null);
    1.17 +        Bck2BrwsrLauncher l = new WebViewLauncher();
    1.18          l.showDirectory(directory, startpage);
    1.19          return l;
    1.20      }