boolean showConservation = true;\r
boolean showQuality = true;\r
boolean showConsensus = true;\r
+ boolean upperCasebold = false;\r
\r
boolean colourAppliesToAllGroups = true;\r
ColourSchemeI globalColourScheme = null;\r
\r
// The following vector holds the features which are\r
// currently visible, in the correct order or rendering\r
- Hashtable featuresDisplayed;\r
+ public Hashtable featuresDisplayed;\r
\r
boolean hasHiddenColumns = false;\r
boolean hasHiddenRows = false;\r
{\r
showConsensus = Boolean.valueOf(param).booleanValue();\r
}\r
+\r
+ param = applet.getParameter("upperCase");\r
+ if (param != null)\r
+ {\r
+ if(param.equalsIgnoreCase("bold"))\r
+ upperCasebold = true;\r
+ }\r
+\r
}\r
// We must set conservation and consensus before setting colour,\r
// as Blosum and Clustal require this to be done\r
java.awt.FontMetrics fm = nullFrame.getGraphics().getFontMetrics(font);\r
setCharHeight(fm.getHeight());\r
charWidth = fm.charWidth('M');\r
+\r
+ if(upperCasebold)\r
+ {\r
+ Font f2 = new Font(f.getName(), Font.BOLD, f.getSize());\r
+ fm = nullFrame.getGraphics().getFontMetrics(f2);\r
+ charWidth = fm.stringWidth("MMMMMMMMMMM") / 10;\r
+ }\r
}\r
\r
public Font getFont()\r