A simple text editor application created in java