/**
 * The driver for JMUedit -- a simple text file editor
 *
 * @author  Prof. David Bernstein, James Madison University
 * @version 1.0
 */
public class JMUedit
{
  /**
   * The entry point for JMUedit
   *
   * @param args    The command-line arguments
   */
    public static void main(String[] args)
    {
       TextEditor         editor;
       TextWindow         window;       
       

       editor = new TextEditor();
       editor.setEditable(true);       
       editor.setShouldHaveScrollBar(true);
       
       window = new TextWindow("JMUedit");
       window.setTextEditor(editor);       
       window.setShouldConfirmExit(true);       
       window.addFileMenu();
       window.setVisible(true);
    }
    
}
