added getMaximumWindowSize()