private void initActions() {

    bView.setLocationRelativeTo(null);

    bView
        .getTxtCampoPrincipal()
        .addKeyListener(
            new java.awt.event.KeyAdapter() {
              @Override
              public void keyTyped(java.awt.event.KeyEvent evt) {
                txtCampoPrincipalKeyTyped(evt);
              }
            });

    bView
        .getBtnBusca()
        .addActionListener(
            new java.awt.event.ActionListener() {
              @Override
              public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnBuscaActionPerformed(evt);
              }
            });

    bView
        .getBtnFechar()
        .addActionListener(
            new java.awt.event.ActionListener() {
              @Override
              public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnFecharActionPerformed(evt);
              }
            });

    bView.setVisible(true);
  }
 private void btnFecharActionPerformed(java.awt.event.ActionEvent evt) {
   bView.setVisible(false);
 }