drawLine(g2d,path,xd,yd,xg,yg); drawLine(g2d,path,xe,ye,xg,yg); drawLine(g2d,path,xf,yf,xg,yg); } else if (ca.equals(cb) && !cb.equals(cc)) { drawLine(g2d,path,xe,ye,xf,yf); } else if (cb.equals(cc) && !cc.equals(ca)) { drawLine(g2d,path,xd,yd,xf,yf); } else if (cc.equals(ca) && !ca.equals(cb)) { drawLine(g2d,path,xd,yd,xe,ye); int x2 = (int)(xshift+qc[0]*xscale); int y2 = (int)(yshift+qc[1]*yscale); drawLine(g2d,path,x1,y1,x2,y2); } else { float xb = pb[0]; drawLine(g2d,path,x1,y1,x2,y2); int x2 = (int)(xshift+qc[0]*xscale); int y2 = (int)(yshift+qc[1]*yscale); drawLine(g2d,path,x1,y1,x2,y2); } else { float xa = pa[0]; drawLine(g2d,path,x1,y1,x2,y2); int x2 = (int)(xshift+qc[0]*xscale); int y2 = (int)(yshift+qc[1]*yscale); drawLine(g2d,path,x1,y1,x2,y2);