Simple notepad on java