return getView().getSize();
{ Component view = getView(); if (view != null) return view.getPreferredSize(); else return new Dimension(); }
  public Dimension getViewSize()  {    if (isViewSizeSet)      return viewSize;    else      return getView().getSize();  }