Simple java text editor for learning