A Text Editor written in java using swing