public void setPaint(and.awt.Paint fill) { if (fill instanceof Color) { Color c = (Color) fill; paint.setColor(c.getRGB()); } }
public void setPaint(Color lineColor) { paint.setColor(lineColor.getRGB()); }