simple java editor written in java