I guess Scala delimited continuations can be successfully used to imple开发者_开发百科ment GUI event listeners with any Java GUI framework (e.g. Swing). Is there any simple but non-trivial example of using the continuations for GUI programming?
Yes, there is scala.react.
Alternatively, take a look at this question.
I should check out scala.react, but so far, I've been using scala.swing.{ Publisher, Reactor } for doing my own event listeners. It's working well for me.
精彩评论