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:
24d5ac4
)
Check description and status are not null in mouse over
author
amwaterhouse
<Andrew Waterhouse>
Wed, 15 Feb 2006 15:19:22 +0000
(15:19 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 15 Feb 2006 15:19:22 +0000
(15:19 +0000)
src/jalview/appletgui/SeqPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/appletgui/SeqPanel.java
b/src/jalview/appletgui/SeqPanel.java
index
2f06d64
..
2a25263
100755
(executable)
--- a/
src/jalview/appletgui/SeqPanel.java
+++ b/
src/jalview/appletgui/SeqPanel.java
@@
-272,8
+272,10
@@
public class SeqPanel
first = false;
\r
}
\r
\r
- text.append(sf.getDescription());
\r
- if (sf.getStatus().length() > 0)
\r
+ if(sf.getDescription()!=null)
\r
+ text.append(sf.getDescription());
\r
+
\r
+ if (sf.getStatus()!=null && sf.getStatus().length() > 0)
\r
{
\r
text.append(" (" + sf.getStatus() + ")");
\r
}
\r