From b83d5f88f9effe4c3506bd348443b717cc189af8 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 16 Nov 2004 15:16:17 +0000 Subject: [PATCH] Show all hydrophobic residues --- src/jalview/gui/ColourKey.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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