public Tooltip(String text, Rectangle hoverArea, TooltipTheme theme)
    {
        this.text = text;
        this.hoverArea = hoverArea;
        this.theme = theme;
        if (theme == null)
        {
            this.theme = new TooltipTheme();
        }
        
        hovering = false;
        visible = false;
        visibility = Visibility.INVISIBLE;
        hoverTime = -1;
        image = null;
        location = new Point();
        
        thread = new Thread(this);
        thread.start();
    }