public DViewKeyPair(JFrame parent,String title,Dialog.ModalityType modality,PrivateKey privateKey,X509Certificate[] certificateChain,Provider provider){
  super(parent,title,modality);
  this.privateKey=privateKey;
  this.certificateChain=certificateChain;
  this.provider=provider;
  initComponents();
}

public DViewKeyPair ( JFrame parent , String title , Dialog . ModalityType modality , PrivateKey privateKey , X509Certificate [ ] certificateChain , Provider provider ) { super ( parent , title , modality ) ; this . privateKey = privateKey ; this . certificateChain = certificateChain ; this . provider = provider ; initComponents ( ) ; }
creates a new dviewkeypair dialog where the parent is a frame .
