question: private void ensureCurrentLayout ( ) { if ( ! tabPane . isValid ( ) ) { tabPane . validate ( ) ; } if ( ! tabPane . isValid ( ) ) { TabbedPaneLayout layout = ( TabbedPaneLayout ) tabPane . getLayout ( ) ; layout . calculateLayoutInfo ( ) ; } }
target:  Make sure we have laid out the pane with the current layout.