A Notepad in Java