SWT:如何在 OS X 上正确处理应用程序事件 [英] SWT: how to handle application events correctly on OS X
本文介绍了SWT:如何在 OS X 上正确处理应用程序事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用 SWT 正确处理 OS X 的应用程序事件(退出、关于、首选项)?对于 AWT/Swing,com.apple.eawt.Application
和 .ApplicationAdapter
工作正常.
How to correctly handle OS X' application events (quit, about, preferences) correctly with SWT? For AWT/Swing the com.apple.eawt.Application
and .ApplicationAdapter
worked fine.
推荐答案
至少有两个可能的答案来自我的 bomarks:
At least two possible answers from my boomarks:
- 我遇到了一个 Azureus 解决方案应该非常便携......
- SWT 3.7 还对 OSX 有一些额外的支持,如 EclipseCon '11
- I have come across an Azureus solution that should be pretty portable...
- Also SWT 3.7 have some additional support for OSX as described at EclipseCon '11
但是...我还没有尝试过...
But... I haven't tried any of this yet...
这篇关于SWT:如何在 OS X 上正确处理应用程序事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文