public Dimension getViewSize ()

If the view's size hasn't been explicitly set, return the preferred size, otherwise return the view's current size. If there is no view, return 0,0.

Returns:  a Dimension object specifying the size of the view