X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Futil%2FBrowserLauncher.java;h=2b8a4bd77b65e762f99ed972bd8c61ab0bea08b8;hb=7000ea3223f2f6a390f56341ba26850d2a137ae0;hp=3c6e48adf2c92315f74f0f1e17cb95492a6b9278;hpb=174230b4233d9ce80f94527768d2cd2f76da11ab;p=jalview.git diff --git a/src/jalview/util/BrowserLauncher.java b/src/jalview/util/BrowserLauncher.java index 3c6e48a..2b8a4bd 100755 --- a/src/jalview/util/BrowserLauncher.java +++ b/src/jalview/util/BrowserLauncher.java @@ -1,6 +1,6 @@ /* * Jalview - A Sequence Alignment Editor and Viewer - * Copyright (C) 2006 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle + * Copyright (C) 2007 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -695,13 +695,16 @@ public class BrowserLauncher return browser; } + /** * used to ensure that browser is up-to-date after a configuration * change (Unix DEFAULT_BROWSER property change). */ - public static void resetBrowser() { + public static void resetBrowser() + { browser = null; } + /** * Attempts to open the default web browser to the given URL. * @param url The URL to open