public DViewPublicKey(JFrame parent,String title,PublicKey publicKey) throws CryptoException {
  super(parent,title,Dialog.ModalityType.DOCUMENT_MODAL);
  this.publicKey=publicKey;
  initComponents();
}

public DViewPublicKey ( JFrame parent , String title , PublicKey publicKey ) throws CryptoException { super ( parent , title , Dialog . ModalityType . DOCUMENT_MODAL ) ; this . publicKey = publicKey ; initComponents ( ) ; }
creates a new dviewpublickey dialog .
