@SuppressWarnings("static-access")
	@Override
	public void mousePressed(MouseEvent e) {
		if(e.getButton() == e.BUTTON1){
			Buttons1 button = (Buttons1)e.getSource();
			button.pressed(1);
		} else if(e.getButton() == e.BUTTON2){
			Buttons1 button = (Buttons1)e.getSource();
			button.pressed(2);
		} else if(e.getButton() == e.BUTTON3){
			Buttons1 button = (Buttons1)e.getSource();
			button.pressed(3);
		}
		
	}