A work in progress text editor in java