Simple notepad created using java