public void run( IProgressMonitor monitor ) throws Exception {
display.addMouseListener(mouseListener);
LineSegment l = new LineSegment(start, end);
start = l.pointAlong(0.1);
end = l.pointAlong(0.9);
l = new LineSegment(start, end);
Coordinate tmp = l.pointAlong(0.9);
double distance = end.distance(tmp);
Coordinate left = l.pointAlongOffset(0.5, distance / 2);
Coordinate right = l.pointAlongOffset(0.5, -distance / 2);
validArea = new Rectangle((int) start.x, (int) start.y, (int) (start.x + (end.x - start.x)),
(int) (start.y + (end.y - start.y)));
graphics.setLineWidth(3);