src/main/java/com/ibm/sttcustomization/ConfirmationDialog.java
public void open(String title, String message) {
        if (title != null)
            titleField.setText(title);
        messageLabel.setText(message);

        if (registrationForConfirm != null) {
            registrationForConfirm.remove();
        }
        registrationForConfirm = confirmButton.addClickListener(e -> {
            //postpone.proceed();
            close();
        });

        open();
    }
/**
     * Opens the confirmation dialog.
     *
     * The dialog will display the given title and message, then call
     * <code>confirmHandler</code> if the Confirm button is clicked, or
     * <code>cancelHandler</code> if the Cancel button is clicked.
     *
     * @param title
     *            The title text
     * @param message
     *            Detail message (optional, may be empty)
     */
Opens the confirmation dialog.
The dialog will display the given title and message, then call
confirmHandler if the Confirm button is clicked, or
cancelHandler if the Cancel button is clicked.

@param title
The title text
@param message
Detail message (optional, may be empty)
Opens the confirmation dialog . The dialog will display the given title and message then call confirmHandler if the Confirm button is clicked or cancelHandler if the Cancel button is clicked . @param title The title text @param message Detail message ( optional may be empty )
public void open(String title, String message) {
        if (title != null)
            titleField.setText(title);
        messageLabel.setText(message);
        if (registrationForConfirm != null) {
            registrationForConfirm.remove();
        }
        registrationForConfirm = confirmButton.addClickListener(e -> {
            close();
        });
        open();
    }
public void open ( String title , String message ) { if ( title != null ) titleField . setText ( title ) ; messageLabel . setText ( message ) ; if ( registrationForConfirm != null ) { registrationForConfirm . remove ( ) ; } registrationForConfirm = confirmButton . addClickListener ( e -> { close ( ) ; } ) ; open ( ) ; }
Opens the confirmation dialog.
Opens the confirmation dialog .
//postpone.proceed();