public static MessageBox showMessageBox ( String title , SafeHtml message , MessageStyleType styleType ) { MessageBox box = new MessageBox ( title , message ) ; box . setMessageStyleType ( styleType ) ; box . setMessageBoxType ( MessageBoxType . MESSAGE ) ; box . center ( ) ; return box ; }
This will show a MessageBox .