change to textpane and add enter event