public static void showMessageBox(final String message,boolean buttonVisible){
  if (MESSAGE_BOX == null)   initMessageBox();
  MESSAGE_BOX.setVisible(false);
  MESSAGE_LABEL.setText(message);
  MESSAGE_OK_BUTTON.setVisible(buttonVisible);
  MESSAGE_BOX.setVisible(true);
}

public static void showMessageBox ( final String message , boolean buttonVisible ) { if ( MESSAGE_BOX == null ) initMessageBox ( ) ; MESSAGE_BOX . setVisible ( false ) ; MESSAGE_LABEL . setText ( message ) ; MESSAGE_OK_BUTTON . setVisible ( buttonVisible ) ; MESSAGE_BOX . setVisible ( true ) ; }
show a message box without blocking .
