https://fahmidasclassroom.com/implementing-simple-text-editor-using-java/
Implementing simple text editor using Java