Dialog « java.awt « Java by API





1.Dialog.ModalityType.APPLICATION_MODAL
2.Dialog.ModalityType.DOCUMENT_MODAL