private static void closeCurrentModal_ ( RootPaneContainer rootPane ) { synchronized ( modals ) { Modal modal = modals . get ( rootPane ) ; if ( modal != null ) { modal . closeCurrent ( ) ; if ( modal . getSize ( ) == 0 ) { modals . remove ( rootPane ) ; } } } }
Close the current modal component of a specific RootPaneContainer .