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:
9f79261
)
SeqColoursReady
author
amwaterhouse
<Andrew Waterhouse>
Thu, 8 Dec 2005 15:34:29 +0000
(15:34 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Thu, 8 Dec 2005 15:34:29 +0000
(15:34 +0000)
src/MCview/AppletPDBCanvas.java
patch
|
blob
|
history
diff --git
a/src/MCview/AppletPDBCanvas.java
b/src/MCview/AppletPDBCanvas.java
index
346ae1e
..
f39a3fa
100755
(executable)
--- a/
src/MCview/AppletPDBCanvas.java
+++ b/
src/MCview/AppletPDBCanvas.java
@@
-363,7
+363,8
@@
public class AppletPDBCanvas extends Panel implements MouseListener, MouseMotion
g.drawString("Error loading PDB data!!", 50, getSize().height/2);
\r
return;
\r
}
\r
- else if( !seqColoursReady )
\r
+
\r
+ if( !seqColoursReady )
\r
{
\r
g.setColor(Color.black);
\r
g.setFont(new Font("Verdana", Font.BOLD, 14));
\r
@@
-928,6
+929,8
@@
public class AppletPDBCanvas extends Panel implements MouseListener, MouseMotion
\r
public void highlightRes(int ii)
\r
{
\r
+ if(!seqColoursReady)
\r
+ return;
\r
\r
if (highlightRes != null
\r
&& highlightRes.contains((ii-1) + ""))
\r