git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3210 Improvements to eclipse detection. New src tree and SwingJS updated from...
[jalview.git]
/
src
/
jalview
/
gui
/
AnnotationLabels.java
diff --git
a/src/jalview/gui/AnnotationLabels.java
b/src/jalview/gui/AnnotationLabels.java
index
a0a0df8
..
72d75b8
100755
(executable)
--- a/
src/jalview/gui/AnnotationLabels.java
+++ b/
src/jalview/gui/AnnotationLabels.java
@@
-82,7
+82,7
@@
public class AnnotationLabels extends JPanel
/**
* height in pixels for allowing height adjuster to be active
*/
/**
* height in pixels for allowing height adjuster to be active
*/
- private static int HEIGHT_ADJUSTER_HEIGHT = 10;
+ private static final int HEIGHT_ADJUSTER_HEIGHT = 10;
private static final Font font = new Font("Arial", Font.PLAIN, 11);
private static final Font font = new Font("Arial", Font.PLAIN, 11);
@@
-971,7
+971,7
@@
public class AnnotationLabels extends JPanel
seqs, omitHidden, alignmentStartEnd);
Toolkit.getDefaultToolkit().getSystemClipboard()
seqs, omitHidden, alignmentStartEnd);
Toolkit.getDefaultToolkit().getSystemClipboard()
- .setContents(new StringSelection(output), Desktop.instance);
+ .setContents(new StringSelection(output), Desktop.getInstance());
HiddenColumns hiddenColumns = null;
HiddenColumns hiddenColumns = null;
@@
-981,7
+981,9
@@
public class AnnotationLabels extends JPanel
av.getAlignment().getHiddenColumns());
}
av.getAlignment().getHiddenColumns());
}
- Desktop.jalviewClipboard = new Object[] { seqs, ds, // what is the dataset
+ Desktop.getInstance().jalviewClipboard = new Object[] { seqs, ds, // what is
+ // the
+ // dataset
// of a consensus
// sequence ? need to
// flag
// of a consensus
// sequence ? need to
// flag