Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » JPopupMenu not shown
JPopupMenu not shown [message #49890] Mon, 09 March 2009 13:31
Tommaso is currently offline TommasoFriend
Messages: 4
Registered: July 2009
Junior Member
Hi everybody,
I have a little problem. I have included some javax.swing components
inside my Composite elements in this way:

JPanel panel;
Composite graphMainContainer;
Frame graphFrameContainer;

graphMainContainer = new Composite(parent, SWT.EMBEDDED);
graphFrameContainer = SWT_AWT.new_Frame(graphMainContainer);
graphFrameContainer.add(panel);

now I want to click with the right mouse button on my panel and I want
that a simple JPopupMenu
( http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JPopupMe nu.html)
appears on the screen... but this doesn't happen. No exception has been
thrown and no error (apparently) has appeared. Just the popup doesn't
appear on the screen. I've supposed it has been created but remains
covered by some plugin component for some reason. Did someone have the
same problem?
Thank you for any answer
Previous Topic:Eclipse Compare Framework
Next Topic:JPopupMenu not shown
Goto Forum:
  


Current Time: Thu Apr 25 00:15:34 GMT 2024

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

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

Back to the top