public DGenerateKeyPair(JFrame parent,KeyStoreType keyStoreType,KeyPairType keyPairType,int keyPairSize){
  super(parent,res.getString("DGenerateKeyPair.Title"),Dialog.ModalityType.DOCUMENT_MODAL);
  this.keyPairType=keyPairType;
  this.keyPairSize=keyPairSize;
  this.keyStoreType=keyStoreType;
  initComponents();
}

public DGenerateKeyPair ( JFrame parent , KeyStoreType keyStoreType , KeyPairType keyPairType , int keyPairSize ) { super ( parent , res . getString ( "DGenerateKeyPair.Title" ) , Dialog . ModalityType . DOCUMENT_MODAL ) ; this . keyPairType = keyPairType ; this . keyPairSize = keyPairSize ; this . keyStoreType = keyStoreType ; initComponents ( ) ; }
creates a new dgeneratekeypair dialog .
