How do I make a scala.collection.mutable.ObservableBuffer
publish swing events so that I can update my components when a buffer changes?
The confusing thing is that scala has two implementations of Publisher
. One is scala.collection.mutable.Publisher
and the second is scala.swing.Publisher
. It's unfortunate that ObservableBuffer
only extends the first type of Publisher
.