Hi,
I have a program that draws a line between two points when the user clicks at two points on a canvas (added in a frame) and clicks Repolot button.
Each time i click the button the previous line is gone. But i want that when i click the button the previous line remains there and new line is also drawn on the canvas.
I am using repaint() so it is not possible to keep the previous line there. Can someone suggest me another way to do this?
Thanks.