SWT_AWT propblems with JPopupMenu [message #444963] |
Fri, 22 October 2004 12:31 |
Paolo Messages: 15 Registered: July 2009 |
Junior Member |
|
|
hello,
I have the following problem with the SWT_AWT bridge:
on my coustom plugin, I use the bridge to embed a JPanel in an SWT
Composite, with the following code:
Composite cp=new Composite(parent,SWT.EMBEDDED);
java.awt.Frame frame = SWT_AWT.new_Frame(cp);
frame.add(myPanel);
The panel contains several components, including a JTree displaying a
JPopupMenu on right click: all works correclty with others components, but
after the right click on the tree, I select one of the menu items and the
Action associated is not called. It seems that actions are not correclty
"propagated" with JPopupMenu over JTree.
any suggestion?
I use Eclipse:
Version: 3.0.0
Build id: 200406251208
thanks! Paolo.
|
|
|
Powered by
FUDForum. Page generated in 0.02932 seconds