simple text editor, Java AWT