Simple notepad by java