A text editor built in java