public DViewPrivateKey(JFrame parent,String title,PrivateKey privateKey,Provider provider) throws CryptoException {
  super(parent,title,Dialog.ModalityType.DOCUMENT_MODAL);
  this.privateKey=privateKey;
  this.provider=provider;
  initComponents();
}

public DViewPrivateKey ( JFrame parent , String title , PrivateKey privateKey , Provider provider ) throws CryptoException { super ( parent , title , Dialog . ModalityType . DOCUMENT_MODAL ) ; this . privateKey = privateKey ; this . provider = provider ; initComponents ( ) ; }
creates a new dviewprivatekey dialog .
