2

我在带有 jre6 的 RCP 应用程序中使用 SWT_AWT 桥,它工作得很好。设置代码取自Eclipse 角文章

Composite composite = new Composite(parent, SWT.EMBEDDED | SWT.NO_BACKGROUND);
Frame frame = SWT_AWT.new_Frame(composite);
JApplet applet = new JApplet();          
frame.add(applet);
return applet;

现在,当我切换到 jre7 时,包含桥的视图部分不再通过鼠标事件激活。

这个问题至少出现在Win7上,我还没有在其他操作系统上尝试过。

有任何想法吗?

4

0 回答 0