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