simple java editor created in java