A simple text editor written in Java