scala-swing icon indicating copy to clipboard operation
scala-swing copied to clipboard

No Events Published from ListModel for ListView

Open scabug opened this issue 14 years ago • 1 comments

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.

scabug avatar Sep 16 '11 07:09 scabug

Imported From: https://issues.scala-lang.org/browse/SI-4998?orig=1 Reporter: TH Lim (sshark) Affected Versions: 2.9.0-1 Attachments:

scabug avatar Sep 16 '11 07:09 scabug