@Override
	public void mousePressed(MouseEvent e) {
		if (getView().getToolBar().getBounds().contains(e.getPoint())) {
			this.x0 = e.getX();
			this.y0 = e.getY();
			this.isMovingToolBar = true;
		}
		else if (e.getButton() == MouseEvent.BUTTON1) {
			if (this.getModel().getCurrentTool() == Tool.DRAW) {
				this.isDrawing = true;
				this.graphics2d = this.getModel().getCapture().getImage().createGraphics();
				
				this.x0 = e.getX();
				this.y0 = e.getY();
				
				graphics2d.setColor(Color.BLUE);
				graphics2d.fillArc(e.getX(), e.getY(), 2, 2, 0, 360);
				
				this.getView().repaint();
			}
			if (this.getModel().getCurrentTool() == Tool.SELECT) {
				this.isSelecting = true;
				
				this.x0 = e.getX();
				this.y0 = e.getY();
				
				this.getView().setSelectionBounds(this.x0, this.y0, 10, 10);
				this.getView().showSelection();
				
				System.out.println("selecting");
			}
		}
		
		System.out.println("mousePressed: "+e.getX()+","+e.getY());
	}