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