Basic Java Text Editor