public void mouseMoved(int x, int y)
    {
        if(y >= this.y && y <= this.y + buttonHeight && x >= this.x && x <= this.x + buttonWidth)
        {
            if(!hasFocus)
            {
                statusChanged = true;
                hasFocus = true;
            }
        }
        else
        {
            if(hasFocus)
            {
                hasFocus = false;
                statusChanged = true;
            }
        }
        
    }