@Override
    public void mousePressed(MouseEvent e) {
        if (e.getButton() != MouseEvent.BUTTON1) {
            System.out.println(e.getButton());
            return;
        }
        ptPress = e.getPoint();
        final Panel screen = (Panel) e.getSource();
        try {
            win.getModel().add(getNewElement(ptPress, ptPress));
            screen.repaint();
        } catch (final NoShapeChosenException e1) {
            ptPress = null;
        }
    }