question: public ExtendedErrorDialog ( Window owner , String key , String errorMessage , Object ... arguments ) { super ( owner , "error." + key , ModalityType . APPLICATION_MODAL , arguments ) ; boolean hasError = errorMessage != null && ! errorMessage . isEmpty ( ) ; JScrollPane detailedPane = hasError ? createDetailPanel ( errorMessage ) : null ; layoutDefault ( mainComponent , SIZE , getButtons ( hasError , false , detailedPane , null ) ) ; }
target:  Creates a dialog with the internationalized I18n-message from the given key.