public MyCanvas() {
            super();
            addMouseListener(new MouseAdapter() {
                @Override
                public void mouseClicked(MouseEvent e) {
                    thisMouseClicked(e);
                }
            });
        }