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:
bc3a0b8
)
Wait till visiblebonds!=null before painting
author
amwaterhouse
<Andrew Waterhouse>
Tue, 29 Nov 2005 17:58:05 +0000
(17:58 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Tue, 29 Nov 2005 17:58:05 +0000
(17:58 +0000)
src/MCview/PDBCanvas.java
patch
|
blob
|
history
diff --git
a/src/MCview/PDBCanvas.java
b/src/MCview/PDBCanvas.java
index
4672271
..
a86a0dd
100755
(executable)
--- a/
src/MCview/PDBCanvas.java
+++ b/
src/MCview/PDBCanvas.java
@@
-385,7
+385,7
@@
public class PDBCanvas extends JPanel implements MouseListener, MouseMotionListe
{
\r
super.paintComponent(g);
\r
\r
- if(pdb==null)
\r
+ if(visiblebonds==null)
\r
{
\r
g.setColor(Color.black);
\r
g.setFont(new Font("Verdana", Font.BOLD, 14));
\r