Compiles with JCreator or Eclipse: Java code to extract courses strings for search field