Using FindReplaceDialog in SimplyHTML

Application SimplyHTML uses a new action in class FrmMain to invoke FindReplaceDialog. Inner class FindReplaceAction instanciates a FindReplaceDialog in its actionPerformed method. Class FindReplaceAction implements interface FindReplaceListener. Whenever more than one document is open inside SimplyHTML FindReplaceAction passes itself as FindReplaceListener to the newly instanciated FindReplaceDialog. Methods getFirstDocument, getNextDocument and findReplaceTerminated in class FindReplaceAction hold functionality to implement find and replace for all documents currently open in SimplyHTML.