X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Futil%2FBrowserLauncher.java;h=a36ea275735443cbf1a8b59e2d726997b115502e;hb=82e0c09533b4f568b50fdc290be58589cea3ebb6;hp=bba572729b97e3d4c53e84b35c994a8de1a4be37;hpb=635fa3269e8ebfbbe3fca3fa535e5d7f22649174;p=jalview.git diff --git a/src/jalview/util/BrowserLauncher.java b/src/jalview/util/BrowserLauncher.java index bba5727..a36ea27 100755 --- a/src/jalview/util/BrowserLauncher.java +++ b/src/jalview/util/BrowserLauncher.java @@ -43,7 +43,7 @@ import java.lang.reflect.Method; * back from the inherently platform-sensitive concept of a default browser and simply attempts * to launch Netscape via a shell command. *

- * This code is Copyright 1999-2001 by Eric Albert (ejalbert@cs.stanford.edu) and may be + * This code is Copyright 1999-2001 by Eric Albert (ejalbert\@cs.stanford.edu) and may be * redistributed or modified in any form without restrictions as long as the portion of this * comment from this paragraph through the end of the comment is not removed. The author * requests that he be notified of any application, applet, or other binary that makes use of @@ -87,13 +87,13 @@ public class BrowserLauncher { /** The com.apple.MacOS.AEDesc class */ private static Class aeDescClass; - /** The (int) method of com.apple.MacOS.AETarget */ + /** The <init>(int) method of com.apple.MacOS.AETarget */ private static Constructor aeTargetConstructor; - /** The (int, int, int) method of com.apple.MacOS.AppleEvent */ + /** The <init>(int, int, int) method of com.apple.MacOS.AppleEvent */ private static Constructor appleEventConstructor; - /** The (String) method of com.apple.MacOS.AEDesc */ + /** The <init>(String) method of com.apple.MacOS.AEDesc */ private static Constructor aeDescConstructor; /** The findFolder method of com.apple.mrj.MRJFileUtils */ @@ -469,8 +469,8 @@ public class BrowserLauncher { default: browser = jalview.bin.Cache.applicationProperties.getProperty("jalview.browser"); if (browser==null) { - // hope netscape exists :-/ - browser = "netscape"; + // hope firefox exists :-/ + browser = "firefox"; } break; } @@ -561,7 +561,7 @@ public class BrowserLauncher { } break; case OTHER: - // Assume that we're on Unix and that Netscape is installed + // Assume that we're on Unix and that Netscape (actually Firefox) is installed // First, attempt to open the URL in a currently running session of Netscape process = Runtime.getRuntime().exec(new String[] { (String) browser,