private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
       //ADD SEARCH STUFF HERE
        Search searcher = new Search();
        String title = titleText.getText();
        String crn = crnText.getText();
        String professor = professorText.getText();
        String attribute = attributeText.getText();
        String info;
        if(!title.isEmpty())
        {
            try{
                info = (searcher.search("title", title));
                resultsArea.setText(info);
               
            }
            
                catch (Exception e) {
            System.out.println(e);
            }
        }
        
        if(!crn.isEmpty())
        {
            try{
                info = (searcher.search("crn", crn));
                resultsArea.setText(info);
               
            }
            
                catch (Exception e) {
            System.out.println(e);
            }
        }
        
        if(!professor.isEmpty())
        {
            try{
                info = (searcher.search("instructor", professor));
                resultsArea.setText(info);
               
            }
            
                catch (Exception e) {
            System.out.println(e);
            }
        }
        if(!attribute.isEmpty())
        {
            try{
                info = (searcher.search("atc", attribute));
                resultsArea.setText(info);
               
            }
            
                catch (Exception e) {
            System.out.println(e);
            }
        }
        
        
        
        
      
    }//GEN-LAST:event_jButton1ActionPerformed