/** * {@inheritDoc} */ @Override public Dimension maximumLayoutSize(Container target) { Dimension pref = delegateMaximumLayoutSize(target); if (statusBar != null && statusBar.isVisible()) { Dimension statusPref = statusBar.getMaximumSize(); pref.width = Math.max(pref.width, statusPref.width); // PENDING JW: overflow? pref.height += statusPref.height; } return pref; }
/** * {@inheritDoc} */ @Override public Dimension maximumLayoutSize(Container target) { Dimension pref = delegateMaximumLayoutSize(target); if (statusBar != null && statusBar.isVisible()) { Dimension statusPref = statusBar.getMaximumSize(); pref.width = Math.max(pref.width, statusPref.width); // PENDING JW: overflow? pref.height += statusPref.height; } return pref; }
/** * {@inheritDoc} */ @Override public Dimension maximumLayoutSize(Container target) { Dimension pref = delegateMaximumLayoutSize(target); if (statusBar != null && statusBar.isVisible()) { Dimension statusPref = statusBar.getMaximumSize(); pref.width = Math.max(pref.width, statusPref.width); // PENDING JW: overflow? pref.height += statusPref.height; } return pref; }
/** * {@inheritDoc} */ @Override public Dimension maximumLayoutSize(Container target) { Dimension pref = delegateMaximumLayoutSize(target); if (statusBar != null && statusBar.isVisible()) { Dimension statusPref = statusBar.getMaximumSize(); pref.width = Math.max(pref.width, statusPref.width); // PENDING JW: overflow? pref.height += statusPref.height; } return pref; }
/** * {@inheritDoc} */ @Override public Dimension maximumLayoutSize(Container target) { Dimension pref = delegateMaximumLayoutSize(target); if (statusBar != null && statusBar.isVisible()) { Dimension statusPref = statusBar.getMaximumSize(); pref.width = Math.max(pref.width, statusPref.width); // PENDING JW: overflow? pref.height += statusPref.height; } return pref; }