private void btnOkActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnOkActionPerformed
        if (!txtCaminhoBanco.getText().isEmpty() && (txtCaminhoBanco.getText().contains(":/") || txtCaminhoBanco.getText().contains(":\\"))) {

            JTextField pwd = new JPasswordField(10);
            JLabel label = new JLabel("Digite a senha:");
            pwd.requestFocus();
            JOptionPane.showConfirmDialog(null, new Object[]{label, pwd},"Senha:", JOptionPane.OK_CANCEL_OPTION);

            if (pwd.getText().equals("123")) {
                criaXML(txtIPServidor.getText(), txtCaminhoBanco.getText());
            } else {
                JOptionPane.showMessageDialog(null, "Senha incorreta", "Erro", JOptionPane.ERROR_MESSAGE);
            }
        }
    }//GEN-LAST:event_btnOkActionPerformed