+"Fasta, MSF, Clustal, BLC, PIR, MSP or PFAM",\r
"Error parsing text", JOptionPane.WARNING_MESSAGE);\r
\r
-\r
}\r
}\r
\r
}\r
\r
\r
- protected void colourIndexMenuItem_actionPerformed(ActionEvent e)\r
- {\r
- ColourKey colourKey = new ColourKey(null);\r
- addInternalFrame(colourKey, "Colour scheme key", 400, 320);\r
- }\r
-\r
\r
public void aboutMenuItem_actionPerformed(ActionEvent e)\r
{\r
\r
public void documentationMenuItem_actionPerformed(ActionEvent e)\r
{\r
- try{\r
- jalview.util.BrowserLauncher.openURL("http://www.jalview.org/documentation.html");\r
- }catch(Exception ex){}\r
+ try\r
+ {\r
+ ClassLoader cl = jalview.gui.Desktop.class.getClassLoader();\r
+ java.net.URL url = javax.help.HelpSet.findHelpSet(cl,"help/help");\r
+ javax.help.HelpSet hs = new javax.help.HelpSet(cl,url);\r
+\r
+ javax.help.HelpBroker hb = hs.createHelpBroker();\r
+ hb.setLocation(new Point(200, 50));\r
+ hb.setSize(new Dimension(800,700));\r
+ hb.setCurrentID("home");\r
+ hb.setDisplayed(true);\r
+ }\r
+ catch (Exception ex)\r
+ {\r
+ ex.printStackTrace();\r
+ }\r
}\r
\r
-\r
}\r