public DViewJcePolicy(JFrame parent,JcePolicy jcePolicy) throws CryptoException {
  super(parent,Dialog.ModalityType.DOCUMENT_MODAL);
  this.jcePolicy=jcePolicy;
  initComponents();
}

public DViewJcePolicy ( JFrame parent , JcePolicy jcePolicy ) throws CryptoException { super ( parent , Dialog . ModalityType . DOCUMENT_MODAL ) ; this . jcePolicy = jcePolicy ; initComponents ( ) ; }
creates a new dviewjcepolicy dialog where the parent is a frame .
