我正在尝试了解如何监听另一个类中的属性更改。下面是我的代码:ClassWithProperty有我想听的属性:publicclassClassWithProperty{privatePropertyChangeSupportchanges=newPropertyChangeSupport(this);privateintusersOnline;publicintgetUsersOnline(){returnusersOnline;}publicClassWithProperty(){usersOnline=0;while(usersOnlineMain是我需要了解属性更改的地方:pub