SWT_AWT 桥中的模态问题
我正在使用以下文章中提到的 EmbeddedSwingComposite (基于 SWT_AWT 桥构建): http://www.eclipse. org/articles/article.php?file=Article-Swing-SWT-Integration/index.html
虽然它说使用上述技术模式问题已经解决。但就我而言,仍然存在一些形式问题。我想可能是因为我使用的是 JDK6,其中 Swing 模式发生了变化。
任何对此有经验或有任何想法的人。任何进一步的信息请发布。
提前致谢
I am using EmbeddedSwingComposite (built on SWT_AWT bridge) which is mentioned in the following article :
http://www.eclipse.org/articles/article.php?file=Article-Swing-SWT-Integration/index.html
Though it says that using the above technique modality issues are resolved. But in my case there are still some modality issues left. I guess maybe becuause I am using JDK6 wherein Swing modality was changed.
Anybody with experience or any idea on this. Any further info please post.
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我也遇到了这个问题。我的解决方案是将弹出框/shell 上的 shell 更改为 SWT shell,同时保留子组件作为 Swing 组件。这可以完全解决所有问题,但可能与您现有的 API 不兼容。
I ran into this problem as well. My solution was to change the shell on the pop-up box / shell to an SWT shell, while keeping the children as Swing components. This sorts everything out completely, but might be incompatible with your existing APIs.