A simple text editor made with java