Point ptSize = new Point(300, 160);
Point ptSize = new Point(300, 130); if (bVisibilityEnabled) { ptSize.y += 30; }
    public Point getPreferredSize()    {        Point ptSize = new Point(300, 160);        if (bPositionEnabled)        {            ptSize.y += 30;        }        return ptSize;    }