private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
       /*Metodo que permite el ingreso de nuevos clientes a la tabla registroCli, verificando que se ingresen
        * todos los campos solicitados.
        */
        
        if(!jTextField1.getText().equals("")&&!jTextField2.getText().equals("")&&!jTextField3.getText().equals("")
                &&!jTextField4.getText().equals("")&&!jTextField5.getText().equals("")&&!jTextField6.getText().equals("")){    
        Object clientes[]={jTextField1.getText(),jTextField2.getText(),jTextField3.getText(),jTextField4.getText(),jTextField5.getText(),jTextField6.getText()};
        registroCli.addRow(clientes);
        jButton2.setVisible(false);
        }else{
            JOptionPane.showMessageDialog(this, "Campos Obligatorios");
        }
    }//GEN-LAST:event_jButton2ActionPerformed