JAL-3210 Barebones gradle/buildship/eclipse. See README
[jalview.git] / src / jalview / gui / AnnotationLabels.java
index 964ffa3..a0a0df8 100755 (executable)
@@ -22,7 +22,6 @@ package jalview.gui;
 
 import jalview.analysis.AlignSeq;
 import jalview.analysis.AlignmentUtils;
-import jalview.bin.Instance;
 import jalview.datamodel.Alignment;
 import jalview.datamodel.AlignmentAnnotation;
 import jalview.datamodel.Annotation;
@@ -83,7 +82,7 @@ public class AnnotationLabels extends JPanel
   /**
    * height in pixels for allowing height adjuster to be active
    */
-  private static final int HEIGHT_ADJUSTER_HEIGHT = 10;
+  private static int HEIGHT_ADJUSTER_HEIGHT = 10;
 
   private static final Font font = new Font("Arial", Font.PLAIN, 11);
 
@@ -972,7 +971,7 @@ public class AnnotationLabels extends JPanel
             seqs, omitHidden, alignmentStartEnd);
 
     Toolkit.getDefaultToolkit().getSystemClipboard()
-            .setContents(new StringSelection(output), Instance.getDesktop());
+            .setContents(new StringSelection(output), Desktop.instance);
 
     HiddenColumns hiddenColumns = null;
 
@@ -982,9 +981,7 @@ public class AnnotationLabels extends JPanel
               av.getAlignment().getHiddenColumns());
     }
 
-    Instance.getDesktop().jalviewClipboard = new Object[] { seqs, ds, // what is
-                                                                      // the
-                                                                      // dataset
+    Desktop.jalviewClipboard = new Object[] { seqs, ds, // what is the dataset
                                                         // of a consensus
                                                         // sequence ? need to
                                                         // flag