private void searchGuestButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_searchGuestButtonActionPerformed
        guestModel.clear();
        String firstName = searchFirstNameField.getText();
        String lastName = searchLastNameField.getText();
        ArrayList<Guest> foundGuests = new ArrayList<>();
        if (!firstName.equals("") || !lastName.equals("")) {
            if (lastName.equals("")) {
                foundGuests = ctr.searchForGuestDB("firstName", firstName);
            }
            if (firstName.equals("")) {
                foundGuests = ctr.searchForGuestDB("lastName", lastName);
            }
            if (!firstName.equals("") && !lastName.equals("")) {
                foundGuests = ctr.searchForGuestDB("both", firstName, lastName);
            }
            for (int i = 0; i < foundGuests.size(); i++) {
                guestModel.addElement(foundGuests.get(i));
            }
            guestJList.setModel(guestModel);
        }
        else {
            refreshModel(guestModel);
        }
    }//GEN-LAST:event_searchGuestButtonActionPerformed