AFC

JNotepad Sample

This sample demonstrates UITabViewer, UIItem, UIBand, UIBandBox, UIContextMenu, UIChoice, UIGraphic, UIPushButton, UIFontDialog, UIColorDialog, UIFindReplaceDialog, UIDialog, UIEdit, and Win32ResourceDecoder.

JNotepad is a fully featured text editor -- a cross between Windows Notepad and Wordpad. It is intended to demonstrate the use of AFC in creating full fledged applications.

JNotepad contains a number of advantages over Notepad and similar text editors:

  • Ability to load multiple files
  • Toolbar
  • Accelerator key support
  • Colors and fonts
  • File properties dialog which displays file line count, word count, and character count.
  • Ability to launch files or browser to links via a right click context menu option.
  • Clipboard tab which always displays the current contents of the clipboard
  • Status bar
  • Search and Replace
  • Fully Customizable

JNotepad is packaged as a Windows executable file; to run it, run the JNOTEPAD.EXE file in the JNotepad\Classes directory. This Win32 executable file was generated using the jexegen tool.


Top © 1996 Microsoft Corporation. All rights reserved.