*/
package jalview.gui;
+import jalview.util.BrowserLauncher;
+import jalview.util.Platform;
+
import java.awt.Point;
+import java.io.IOException;
import java.net.URL;
import javax.help.BadIDException;
*/
public static void showHelpWindow(HelpId id) throws HelpSetException
{
+ if (Platform.isJS())
+ {
+ try
+ {
+ BrowserLauncher.openURL("http://www.jalview.org/help.html");
+ } catch (IOException e) {}
+ return;
+ }
+
ClassLoader cl = Desktop.class.getClassLoader();
URL url = HelpSet.findHelpSet(cl, "help/help"); // $NON-NLS-$
HelpSet hs = new HelpSet(cl, url);