From 452198e86b03d40c83d0492ab04ab2f6d52e8f5e Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Mon, 30 Jan 2006 15:33:08 +0000 Subject: [PATCH] No need for apply button, just update colours when events occur --- src/jalview/gui/AnnotationColourChooser.java | 54 ++++++++++++++++---------- 1 file changed, 34 insertions(+), 20 deletions(-) diff --git a/src/jalview/gui/AnnotationColourChooser.java b/src/jalview/gui/AnnotationColourChooser.java index 71cf688..71582e5 100755 --- a/src/jalview/gui/AnnotationColourChooser.java +++ b/src/jalview/gui/AnnotationColourChooser.java @@ -42,7 +42,7 @@ public class AnnotationColourChooser frame = new JInternalFrame(); frame.setContentPane(this); frame.setLayer(JLayeredPane.PALETTE_LAYER); - Desktop.addInternalFrame(frame, "Colour by Annotation", 480, 110); + Desktop.addInternalFrame(frame, "Colour by Annotation", 470, 110, false); try{ jbInit(); @@ -51,20 +51,23 @@ public class AnnotationColourChooser if(av.alignment.getAlignmentAnnotation()==null) return; - for(int i=0; i