开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜