From: amwaterhouse Date: Fri, 15 Apr 2005 14:57:25 +0000 (+0000) Subject: PID and conservation colouring changes X-Git-Tag: Release_2_0~414 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=dbfdb02d549e91942095e39c2a50259b1c54c256;p=jalview.git PID and conservation colouring changes --- 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