}\r
\r
\r
- if( applet.getParameter("servletAllowed") !=null)\r
- {\r
- ServletGUI plug = new ServletGUI(this, fileMenu, calculateMenu);\r
- }\r
-\r
-\r
-\r
}\r
\r
public void inputText_actionPerformed(ActionEvent e)\r
\r
if (cs instanceof ResidueColourScheme)\r
{\r
- ( (ResidueColourScheme) cs).setThreshold(threshold);\r
+ ( (ResidueColourScheme) cs).setThreshold(threshold, viewport.getIgnoreGapsConsensus());\r
}\r
\r
viewport.setGlobalColourScheme(cs);\r
}\r
else if (cs instanceof ResidueColourScheme)\r
{\r
- ( (ResidueColourScheme) cs).setThreshold(0);\r
+ ( (ResidueColourScheme) cs).setThreshold(0, viewport.getIgnoreGapsConsensus());\r
}\r
\r
if (viewport.getConservationSelected())\r
{\r
if (sg.cs instanceof ResidueColourScheme)\r
{\r
- ( (ResidueColourScheme) sg.cs).setThreshold(threshold);\r
+ ( (ResidueColourScheme) sg.cs).setThreshold(threshold, viewport.getIgnoreGapsConsensus());\r
}\r
\r
sg.cs.setConsensus(AAFrequency.calculate(sg.sequences, 0, sg.getWidth()));\r
}\r
}\r
\r
+ updateCSConsensus();\r
+\r
if (alignPanel.getOverviewPanel() != null)\r
{\r
alignPanel.getOverviewPanel().updateOverviewImage();\r
alignPanel.repaint();\r
}\r
\r
+ public void updateCSConsensus()\r
+ {\r
+ //Colour schemes must have their consensus updated\r
+\r
+ }\r
+\r
protected void modifyPID_actionPerformed(ActionEvent e)\r
{\r
if (viewport.getAbovePIDThreshold())\r
int y = 5, x = 7;\r
g.setColor(Color.black);\r
g.setFont(new Font("Helvetica", Font.BOLD, 14));\r
- g.drawString("JalView - Release 2.01", 200, y += fh);\r
+ g.drawString("JalView - Release 2.02", 200, y += fh);\r
g.setFont(new Font("Helvetica", Font.PLAIN, 12));\r
g.drawString("Authors: Michele Clamp, James Cuff, Steve Searle, Andrew Waterhouse, Jim Procter & Geoff Barton.",\r
x, y += fh * 2);\r