protected void checkCreate ( ) { if ( _creator != null && isShowing ( ) ) { // ideally, we would replace ourselves in our parent, but that // doesn't seem to work in JTabbedPane setLayout ( new BorderLayout ( ) ) ; add ( _creator . createContent ( ) , BorderLayout . CENTER ) ; _creator = null ; } }
Check to see if we should now create the content .