That's a fair amount of code. Tell us what it does, and how that is different from what you want it to do. Is it a Java problem, or an algorithm problem, or something else?
Joined: Mar 23, 2004
A rectangle is created in the centre of the window and filled in colour.I may use any click to draw and drag a line on the screen.A line will only be remembered as it is released across the varierents of the rectangle.The line is clipped in size to remember the piece within or partially within the rectangle