Chapter 19 DocSearch Example


 
HTML Index
HTMLIndex.java defines a simple index and indexer utility for HTML files.
 
SetDir Action
SetDirAction.java defines a custom Action that sets the current search directory.
 
Quit Action
QuitAction.java defines a custom Action that handles the quit menu and window close box.
 
Index Loader
IndexLoader.java defines a custom object to load the index in a background thread.
 
Page Loader
PageLoader.java defines a custom object to load the currently selected page in a background thread.
 
Doc Search
DocSearch.java defines the main DocSearch application including the code for building the user interface. Updated to remove the call to Thread.stop, this method is deprecated, and we have replaced it with a call to interrupt. The bug in the early access version of JFC 1.1, was fixed so this example no longer uses a custom editor kit.


Copyright � 1998, John Wiley and Sons, Inc.