When I put displayOutput.setText(mList) within the propertyChange method, it worked:@Overridepublic void propertyChange(PropertyChangeEvent pcEvt) { if (pcEvt.getPropertyName().equals( ArrayForUpdating.BOUND_PROPERTY)) { mList = (pcEvt.getNewValue().toString()); displayOutput.setText(mList); }}感谢大家的帮助,尤其是您的耐心.Thank you to everyone for your help and especially your patience. 这篇关于SwingPropertyChangeSupport 动态更新 JTextArea的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 06-30 03:53