public DError(JDialog parent,Throwable error){
  super(parent,res.getString("DError.Title"),ModalityType.DOCUMENT_MODAL);
  this.error=error;
  initComponents();
}

public DError ( JDialog parent , Throwable error ) { super ( parent , res . getString ( "DError.Title" ) , ModalityType . DOCUMENT_MODAL ) ; this . error = error ; initComponents ( ) ; }
creates new derror dialog where the parent is a dialog .
