Text editor built using Java/Swing