Basic Windowed GUI text editor written in Java