private void jBCadastrarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBCadastrarActionPerformed
        try {
            lanche = new Lanche();
            dao = new LancheDAO();
            lanche.setNome(jTNome.getText());
            lanche.setIngredientes(jTIngredientes.getText());
            lanche.setValor(Double.parseDouble(jTValor.getText().replace(',', '.')));
            dao.adicionar(lanche);
            JOptionPane.showMessageDialog(null, "Lanche Adicionado com Sucesso!");
        } catch (SQLException ex) {
            JOptionPane.showMessageDialog(null, "Erro: " + ex);
        }
    }//GEN-LAST:event_jBCadastrarActionPerformed