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
(from parent 1:
24ae41a
)
new features or newly shown group features are placed at top of feature stack
author
jprocter
<Jim Procter>
Mon, 15 Oct 2007 21:18:45 +0000
(21:18 +0000)
committer
jprocter
<Jim Procter>
Mon, 15 Oct 2007 21:18:45 +0000
(21:18 +0000)
src/jalview/appletgui/FeatureSettings.java
patch
|
blob
|
history
diff --git
a/src/jalview/appletgui/FeatureSettings.java
b/src/jalview/appletgui/FeatureSettings.java
index
f2e44f5
..
6670d2f
100755
(executable)
--- a/
src/jalview/appletgui/FeatureSettings.java
+++ b/
src/jalview/appletgui/FeatureSettings.java
@@
-318,7
+318,16
@@
public class FeatureSettings
check.addMouseMotionListener(this);
check.setBackground(fr.getColour(type));
check.addItemListener(this);
- featurePanel.add(check);
+ if (groupsChanged)
+ {
+ // add at beginning of stack.
+ featurePanel.add(check, 0);
+ }
+ else
+ {
+ // add at end of stack.
+ featurePanel.add(check);
+ }
}
}