/** * Gets the minimum size of <code>window</code>, the default implementation just calls * {@link ScreenDockWindow#getMinimumWindowSize()}, but subclasses may override this method * to use another algorithm for finding the minimum window size. * @param window the window whose minimum size is required * @return the minimum size, must not be <code>null</code> */ protected Dimension getMinimumSize( ScreenDockWindow window ){ return window.getMinimumWindowSize(); }
Dimension minimum = window.getMinimumWindowSize();