|
Although this looks just like Example #1, this example uses SingleSearch mode. The contents of the 5 files we were searching in Example #1 have been copied into a master file called bigfile.txt, and the URL and Name parameters have been replaced with the SingleSearch parameter which specifies the name of the master file. In some cases, it might be more practical to give the SingleSearch file an .HTM/.HTML extension (see SingleSearch Tips); we've given this one a .txt extension to make it easier for you to examine. Here's the applet tag for this example:
<APPLET CODE="rySearchlight.class" ARCHIVE="Searchlight.jar" WIDTH=200 HEIGHT=250> |