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:
3ae81b0
)
Use annotation colour for graph
author
amwaterhouse
<Andrew Waterhouse>
Fri, 24 Feb 2006 11:39:40 +0000
(11:39 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Fri, 24 Feb 2006 11:39:40 +0000
(11:39 +0000)
src/jalview/appletgui/AnnotationPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/appletgui/AnnotationPanel.java
b/src/jalview/appletgui/AnnotationPanel.java
index
0fdeed6
..
4bc8ed5
100755
(executable)
--- a/
src/jalview/appletgui/AnnotationPanel.java
+++ b/
src/jalview/appletgui/AnnotationPanel.java
@@
-666,7
+666,7
@@
public class AnnotationPanel
\r
for (int j = sRes; j < eRes; j++)
\r
{
\r
- g.setColor(new Color(0, 0, 180));
\r
+ g.setColor(aa.annotations[j].colour);
\r
\r
height = (int) ((aa.annotations[j].value / aa.graphMax) * GRAPH_HEIGHT);
\r
if(height>y)
\r