我应该使用哪种类型的监听器来监听JTextField中文本改变的事件?(我应该知道这个或者能够从Javadoc中找到答案,但我好像想不出来。)
使用底层文档:
myTextField.getDocument().addDocumentListener();