private void searchButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_searchButtonActionPerformed

        switch (this.search_option) {
            case "camera_brand":
                if (!this.cameraBrandTextField.getText().equals("")) {
                    this.rdn = q.cameraBrand(this.cameraBrandTextField.getText());
                }
                repaintResults(this.rdn);
                resetSearch();
                break;
            case "camera_model":
                if (!this.cameraModelTextField.getText().equals("")) {
                    this.rdn = q.cameraModel(this.cameraModelTextField.getText());
                }
                repaintResults(this.rdn);
                resetSearch();
                break;
            case "date":
                System.out.println("Search for date " + this.dateCreatedTextField.getText());

                if (!this.dateCreatedTextField.getText().equals("")) {
                    this.rdn = q.DateCreated(this.dateCreatedTextField.getText());
                }
                repaintResults(this.rdn);
                resetSearch();
                break;
            case "iso":
                System.out.println("Search for ISO " + this.ISOComboBox.getSelectedItem().toString());
                this.rdn = q.searchByISO(this.ISOComboBox.getSelectedItem().toString());

                repaintResults(this.rdn);
                resetSearch();
                break;
            case "shutter_speed":
                System.out.println("Buscando por " + this.shutterSpeedComboBox.getSelectedItem().toString());
                this.rdn = q.shutterSpeed(this.shutterSpeedComboBox.getSelectedItem().toString());
                repaintResults(this.rdn);
                resetSearch();
                break;
            default:
                System.out.println("Something weird happened... Oops!");
                break;
        }
    }//GEN-LAST:event_searchButtonActionPerformed