From 29bd9eb6040deaab8f3b385a3b07fb114133cdc0 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 2 Dec 2005 15:53:08 +0000 Subject: [PATCH] Remove fillarc --- src/MCview/AppletPDBCanvas.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/MCview/AppletPDBCanvas.java b/src/MCview/AppletPDBCanvas.java index 93d4c92..d6247f4 100755 --- a/src/MCview/AppletPDBCanvas.java +++ b/src/MCview/AppletPDBCanvas.java @@ -408,10 +408,10 @@ public class AppletPDBCanvas extends Panel implements MouseListener, MouseMotion public void drawAll(Graphics g, int width, int height) { - g.setColor(Color.black); - g.fillRect(0, 0, width, height); - drawScene(g); - drawLabels(g); + ig.setColor(Color.black); + ig.fillRect(0, 0, width, height); + drawScene(ig); + drawLabels(ig); } @@ -554,6 +554,7 @@ public class AppletPDBCanvas extends Panel implements MouseListener, MouseMotion g.setColor(tmpBond.endCol); drawLine(g, xmid, ymid, xend, yend); } + } else if (depthcue && bymolecule) { if (tmpBond.start[2] < (centre[2] - (maxwidth / 6))) { g.setColor(Color.green.darker().darker()); -- 1.7.10.2