Homework 4: Simple Text Editor, part 2

This assignment builds upon your solution to Homework 2: Text Editor, Part 1.

Word Count

The user interface should make the word count available to the user.

Word Wrap

When a word spills past the end of a line, a horizontal scrollbar should no longer appear. Instead, the word should automatically wrap to the next line.

Spell Checker

The user should be able to check spelling. The user should have a way to add new words to the dictionary, especially if there is a disagreement with the spell checker. Your spell checker will be an implementation of the WordArray class from Homework 1. Select one of the implementations you developed during that assignment for use with your text editor.