scala-swing
scala-swing copied to clipboard
No Events Published from ListModel for ListView
User code will not receive ListDataEvent because the model in ListView is replaced by another model in the later part of ListView constructor. As a result, the user code has to add the listener explicitly to the "other" model manually to get model's events. The same goes for new model added to ListView.
Please refer to the code attached.
Imported From: https://issues.scala-lang.org/browse/SI-4998?orig=1 Reporter: TH Lim (sshark) Affected Versions: 2.9.0-1 Attachments:
- ListViewBugDemo.scala (created on Sep 16, 2011 7:50:23 AM UTC, 2091 bytes)