/** * Returns a basic (modal) confirmation dialog (yes/no/cancel). * * @param owner the owner of the dialog */ public static ApprovalDialog getConfirmationDialog(Dialog owner) { return getConfirmationDialog(owner, ModalityType.DOCUMENT_MODAL); }
/** * Returns a basic (modal) confirmation dialog (yes/no/cancel). * * @param owner the owner of the dialog */ public static ApprovalDialog getConfirmationDialog(Frame owner) { return getConfirmationDialog(owner, true); }