Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT_AWT propblems with JPopupMenu
SWT_AWT propblems with JPopupMenu [message #444963] Fri, 22 October 2004 12:31
Paolo is currently offline PaoloFriend
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.
Previous Topic:SWT pendant to QWidgetStack
Next Topic:Drag and Drop versus click even in SWT
Goto Forum:
  


Current Time: Wed Apr 24 16:19:58 GMT 2024

Powered by FUDForum. Page generated in 0.02932 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top