public DGetNewPassword(JFrame parent,Dialog.ModalityType modality,PasswordQualityConfig passwordQualityConfig){
  super(parent,res.getString("DGetNewPassword.Title"),modality);
  this.passwordQualityConfig=passwordQualityConfig;
  initComponents();
}

public DGetNewPassword ( JFrame parent , Dialog . ModalityType modality , PasswordQualityConfig passwordQualityConfig ) { super ( parent , res . getString ( "DGetNewPassword.Title" ) , modality ) ; this . passwordQualityConfig = passwordQualityConfig ; initComponents ( ) ; }
creates new dgetnewpassword dialog where the parent is a frame .
