Point ptSize = new Point(250, 70);
Point ptSize = new Point(250, 40); if (bEnableVisibility) { ptSize.y += 30; }
    public Point getPreferredSize()    {        Point ptSize = new Point(250, 70);        if (bEnableStyles)        {            ptSize.y += 30;        }        if (bEnableWidths)        {            ptSize.y += 30;        }        return ptSize;    }