public DGeneratingKeyPair(JFrame parent,KeyPairType keyPairType,int keySize,Provider provider){
  super(parent,Dialog.ModalityType.DOCUMENT_MODAL);
  this.keyPairType=keyPairType;
  this.keySize=keySize;
  this.provider=provider;
  initComponents();
}

public DGeneratingKeyPair ( JFrame parent , KeyPairType keyPairType , int keySize , Provider provider ) { super ( parent , Dialog . ModalityType . DOCUMENT_MODAL ) ; this . keyPairType = keyPairType ; this . keySize = keySize ; this . provider = provider ; initComponents ( ) ; }
creates a new dgeneratingkeypair dialog .
