public DGenerateSecretKey(JFrame parent,SecretKeyType secretKeyType,int secretKeySize){
  super(parent,res.getString("DGenerateSecretKey.Title"),Dialog.ModalityType.DOCUMENT_MODAL);
  this.secretKeyType=secretKeyType;
  this.secretKeySize=secretKeySize;
  initComponents();
}

public DGenerateSecretKey ( JFrame parent , SecretKeyType secretKeyType , int secretKeySize ) { super ( parent , res . getString ( "DGenerateSecretKey.Title" ) , Dialog . ModalityType . DOCUMENT_MODAL ) ; this . secretKeyType = secretKeyType ; this . secretKeySize = secretKeySize ; initComponents ( ) ; }
creates a new dgeneratesecretkey dialog .
