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:
77dbfda
)
update status bar with mouse over
author
amwaterhouse
<Andrew Waterhouse>
Thu, 14 Apr 2005 15:04:45 +0000
(15:04 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Thu, 14 Apr 2005 15:04:45 +0000
(15:04 +0000)
src/jalview/gui/AnnotationPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AnnotationPanel.java
b/src/jalview/gui/AnnotationPanel.java
index
420e369
..
7b0fa67
100755
(executable)
--- a/
src/jalview/gui/AnnotationPanel.java
+++ b/
src/jalview/gui/AnnotationPanel.java
@@
-312,7
+312,14
@@
public class AnnotationPanel extends JPanel implements MouseListener, MouseMotio
\r
int res = evt.getX() / av.getCharWidth() + av.getStartRes();
\r
if(row>-1 && res<aa[row].annotations.length && aa[row].annotations[res]!=null)
\r
+ {
\r
this.setToolTipText(aa[row].annotations[res].description);
\r
+ StringBuffer text = new StringBuffer("Sequence position " + (res + 1) +
\r
+ " " +
\r
+ aa[row].annotations[res].description);
\r
+ ap.alignFrame.statusBar.setText(text.toString());
\r
+ }
\r
+
\r
\r
}
\r
public void mouseClicked(MouseEvent evt) {}
\r