@Override
	public void mousePressed(MouseEvent e)
	{
		switch(e.getButton())
		{
			case MouseEvent.BUTTON1:
			{
				AreaSelection.renew(e.getLocationOnScreen());
				break;
			}
			case MouseEvent.BUTTON2:
			{
				if(AreaSelection.isEnabled())
				{
					AreaSelection.cancelSelection();
				}
				else
				{
					System.exit(0);
				}
				break;
			}
		}
	}