From dbfdb02d549e91942095e39c2a50259b1c54c256 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 15 Apr 2005 14:57:25 +0000 Subject: [PATCH] PID and conservation colouring changes --- src/jalview/gui/AlignFrame.java | 158 +++++++++++++++++++++------------------ 1 file changed, 86 insertions(+), 72 deletions(-) diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index 9ec2f23..b00a584 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -581,6 +581,7 @@ public class AlignFrame extends GAlignFrame FontChooser fc = new FontChooser( alignPanel, frame ); frame.setContentPane(fc); Desktop.addInternalFrame(frame, "Change Font", 480,100); + frame.setLayer(JLayeredPane.PALETTE_LAYER); } protected void fullSeqId_actionPerformed(ActionEvent e) @@ -765,106 +766,130 @@ public class AlignFrame extends GAlignFrame void changeColour(ColourSchemeI cs) { + int threshold = 0; - if(viewport.getColourAppliesToAllGroups()) + if ( viewport.getAbovePIDThreshold() ) { - Vector groups = viewport.alignment.getGroups(); - for(int i=0; i