private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton4ActionPerformed
        // TODO add your handling code here:
        Validaciones v = new Validaciones();
        if (jCheckBox1.isSelected()){
            jLabel4.setVisible(false);
            Cargar_Tabla("SELECT * FROM "+nombre_tabla);
        }
        
        if (jCheckBox2.isSelected()){
            if (!"".equals(jTextField1.getText())){
                if (v.isInt(jTextField1.getText())){
                    jLabel4.setVisible(false);
                    Cargar_Tabla("SELECT * FROM "+nombre_tabla+" WHERE "+campo_clave+" = "+jTextField1.getText());
                }
                else{
                    jLabel4.setVisible(true);
                    jTextField1.requestFocus();
                    jTextField1.selectAll();
                    jLabel4.setText("Ingrese un valor numerico.");
                }
            }
            else{ 
                jLabel4.setVisible(true);
                jTextField1.requestFocus();
                jLabel4.setText("Ingrese un valor numerico.");
            }
        }
        if (jCheckBox3.isSelected()){
            if (!"".equals(jTextField1.getText()) || !"".equals(jTextField2.getText())){
                if (v.isInt(jTextField1.getText()) && v.isInt(jTextField2.getText())){
                    jLabel4.setVisible(false);
                    Cargar_Tabla("SELECT * FROM "+nombre_tabla+" WHERE "+campo_clave+" >= "+jTextField1.getText()+" AND "+campo_clave+" <= "+jTextField2.getText());
                }
                else{
                    jLabel4.setVisible(true);
                    jTextField1.requestFocus();
                    jLabel4.setText("Ingrese valores numericos.");
                }
            }
            else{ 
                jLabel4.setVisible(true);
                jTextField1.requestFocus();
                jLabel4.setText("Ingrese valores numericos.");
            }
        }
    }//GEN-LAST:event_jButton4ActionPerformed