From: amwaterhouse Date: Tue, 16 Nov 2004 15:16:17 +0000 (+0000) Subject: Show all hydrophobic residues X-Git-Tag: Release_2_0~935 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b83d5f88f9effe4c3506bd348443b717cc189af8;p=jalview.git Show all hydrophobic residues --- diff --git a/src/jalview/gui/ColourKey.java b/src/jalview/gui/ColourKey.java index 4dd62a2..ab399ec 100755 --- a/src/jalview/gui/ColourKey.java +++ b/src/jalview/gui/ColourKey.java @@ -116,8 +116,8 @@ protected void taylorMenuItem_actionPerformed(ActionEvent e) { menu.setText("Taylor colour scheme"); String [] res = new String[]{"A","V","I","L","M","F","Y","W","H","R","K","N","Q","E","D","S","T","G","P","C"}; - Color [] col = new Color[20]; - for (int i=0; i<20; i++) + Color [] col = new Color[res.length]; + for (int i=0; i