public static DialogOptions newOptions(final String message) {
        DialogOptions options = JavaScriptObject.createObject().cast();
        options.setMessage(message);
        return options;
    }
public static DialogOptions newOptions ( final String message ) { DialogOptions options = JavaScriptObject . createObject ( ) . cast ( ) ; options . setMessage ( message ) ; return options ; }
Creates a new {@link DialogOptions}.

@param message
@return