public void mousePressed(MouseEvent me)
    {
        if (me.getButton() == MouseEvent.BUTTON1)
        {
            int x = me.getX()
                / (getTileSize() * getZoom() + (isDrawGridLines() ? 1 : 0));
            int y = me.getY()
                / (getTileSize() * getZoom() + (isDrawGridLines() ? 1 : 0));
            if ((me.getModifiers() & MouseEvent.ALT_MASK) != 0)
            {
                asx = x;
                asy = y;
            }
            else if ((me.getModifiers() & MouseEvent.CTRL_MASK) != 0)
            {
                selt = (selection[x][y] == -1 ? 0 : 1);
                leftCtrlClickAction(x, y);
            }
        }
    }