Added a DocumentListener to jPortTextField instead of watching for focus, mouse and caret events