A notepad written in java