Don't know if this is correct mailing list. If I have
gc.setStroke(Color.RED); gc.moveTo(x1, y1); gc.lineTo(x2, y2); gc.stroke(); and later I want to remove this line, how do I do that ? I don't want to clear the whole the Canvas (in fact gc.clearRect(0, 0, canvas.getWidth(), canvas.getHeight()); doesn't remove the line anyway). Also, if I wanted to implement a blinking cursor on a Canvas, is there a neat way to do that ? Thanks.