git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d943c5
)
JAL-1933 update threshold on focus lost in text field
features/JAL-2295setChimeraAttributes
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 17 Jan 2017 16:20:55 +0000
(16:20 +0000)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 17 Jan 2017 16:20:55 +0000
(16:20 +0000)
src/jalview/gui/AnnotationRowFilter.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AnnotationRowFilter.java
b/src/jalview/gui/AnnotationRowFilter.java
index
c8bd69c
..
1b036c1
100644
(file)
--- a/
src/jalview/gui/AnnotationRowFilter.java
+++ b/
src/jalview/gui/AnnotationRowFilter.java
@@
-26,6
+26,8
@@
import jalview.datamodel.SequenceGroup;
import jalview.schemes.AnnotationColourGradient;
import jalview.util.MessageManager;
+import java.awt.event.FocusAdapter;
+import java.awt.event.FocusEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.Vector;
@@
-134,6
+136,14
@@
public abstract class AnnotationRowFilter extends JPanel
{
this.av = av;
this.ap = ap;
+ thresholdValue.addFocusListener(new FocusAdapter()
+ {
+ @Override
+ public void focusLost(FocusEvent e)
+ {
+ thresholdValue_actionPerformed();
+ }
+ });
}
public AnnotationRowFilter()