How to Capture Dialog (Swing) Focus Lost Event in Scala?
Whi开发者_运维技巧le I can listenTo(button) FocusLost event, I don't seem to be able to capture FocusLost event in a Dialog (Scala's Swing Component). How do I do that? I tried adding Publisher trait to Dialog but nothing works. Any advice is great here.
Thanks
/lim/
You can alsways work with the underlying Java Swing objects. Call .peer
on your Dialog
object and receive a JDialog
object.
精彩评论