@Override
	public JTable search(String searchTerm) { 
	    displaysearch = new String[result.length][result.length];
	   
	    int n = 0;
		for(int i = 0; i < result.length; i++){
			for(int j = 0; j < result[i].length; j++){
				if((result[i][j].toLowerCase()).contains(searchTerm)){
					displaysearch[n]= result[i];
					n++;
				}
			}
		}
		
		String[][] small_displaysearch = new String[n][8];
		for(int i = 0; i < small_displaysearch.length; i++){
	    	for(int k = 0; k< small_displaysearch[i].length; k++){
	    			small_displaysearch[i][k] = displaysearch[i][k];
	    	}
		}
		
		System.out.println(small_displaysearch.length);
		
		Object rowSchedule[][] = small_displaysearch;
	    Object columnTitle[] = result[0];
	    JTable table = new JTable(rowSchedule, columnTitle);

	    return table;
	}