A simple notepad written in java