g.setColor(tmpBond.endCol.darker().darker());\r
drawLine(g, xmid, ymid, xend, yend);\r
} else if (tmpBond.start[2] < (centre[2] + (maxwidth / 6))) {\r
g.setColor(tmpBond.endCol.darker().darker());\r
drawLine(g, xmid, ymid, xend, yend);\r
} else if (tmpBond.start[2] < (centre[2] + (maxwidth / 6))) {\r