private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
        // TODO add your handling code here:
        String nome, cod, cnpj, desc;
        
        nome = txt_nomeforn.getText();
        cod = txt_codforn.getText();
        cnpj = txt_cnpjforn.getText();
        desc = txt_descforn.getText();
        
        if(nome.isEmpty()|| cod.isEmpty()|| cnpj.isEmpty() || desc.isEmpty()){
            JOptionPane.showMessageDialog(rootPane, "Por favor, preencha todos os campos!!");
        }
    }//GEN-LAST:event_jButton2ActionPerformed