X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FAnnotationLabels.java;h=40621373af93fc9b88d67dcc9c084c65283fce3d;hb=55fbd0c6b2e5ec14f0cf1e672c632a83a4930cb8;hp=294b8db964023849c80b70be9564548496649089;hpb=0eecb83722155f32d5eade88a5e8b4a5caca1a67;p=jalview.git diff --git a/src/jalview/gui/AnnotationLabels.java b/src/jalview/gui/AnnotationLabels.java index 294b8db..4062137 100755 --- a/src/jalview/gui/AnnotationLabels.java +++ b/src/jalview/gui/AnnotationLabels.java @@ -34,7 +34,6 @@ import jalview.io.FormatAdapter; import jalview.util.Comparison; import jalview.util.MessageManager; import jalview.util.Platform; -import jalview.util.dialogrunner.RunResponse; import java.awt.Color; import java.awt.Cursor; @@ -136,6 +135,7 @@ public class AnnotationLabels extends JPanel */ public AnnotationLabels(AlignmentPanel ap) { + this.ap = ap; av = ap.av; ToolTipManager.sharedInstance().registerComponent(this); @@ -292,7 +292,7 @@ public class AnnotationLabels extends JPanel annotation.description, name, description); dialog.showDialog(ap.alignFrame, title, - new RunResponse(JvOptionPane.OK_OPTION) + new Runnable() { @Override public void run()