erase(); stop(canvas.translateEnd(e.getPoint())); draw(); notifyRubberBandCanvas(); } }
erase(); stop(canvas.translateEnd(e.getPoint())); notifyRubberBandCanvas(); draw(); notifyRubberBandCanvas(); } }
		public void mouseDragged(MouseEvent e) {			if(!SwingUtilities.isRightMouseButton(e) && getCanvas().canDrawRubberBand(RubberBand.this)) {				erase();				stop(canvas.translateEnd(e.getPoint()));				draw();				notifyRubberBandCanvas();			}		}