public DViewSecretKey(JFrame parent,String title,SecretKey secretKey) throws CryptoException {
  super(parent,title,Dialog.ModalityType.DOCUMENT_MODAL);
  this.secretKey=secretKey;
  initComponents();
}

public DViewSecretKey ( JFrame parent , String title , SecretKey secretKey ) throws CryptoException { super ( parent , title , Dialog . ModalityType . DOCUMENT_MODAL ) ; this . secretKey = secretKey ; initComponents ( ) ; }
creates a new dviewsecretkey dialog .
