public void handleMouseDragged(MouseEvent evt) {
			int x = evt.getX();
			int y = evt.getY();
			if (drawing.layers[controlPanel.getCurrentLayer()].visible && !menuBar.colorPicker.isSelected()) {
				//drawing.currentCurve.addPoint(x, y);
				drawing.addToCurve(x, y, drawingPanel.currentCurve);
				//menuBar.save.setEnabled(true);
				if (netController != null && netController.connected == true) {
					netController.addToCurve(-1, x, y);
				}
				drawingPanel.repaint();
			} else if (menuBar.colorPicker.isSelected()) {
				if (x<drawingPanel.getWidth() && x>0 && y<drawingPanel.getHeight() && y>0)
					controls.drawingActions.changeColor(drawing.getColorAt(x, y));
			}
		}