question: public DProblem ( JFrame parent , String title , Problem problem ) { super ( parent , ModalityType . DOCUMENT_MODAL ) ; setTitle ( title ) ; this . problem = problem ; initComponents ( ) ; }
target:  Creates new DProblem dialog where the parent is a frame.