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 #593010] 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:JPopupMenu not shown
Next Topic:headless p2 director application
Goto Forum:
  


Current Time: Tue Jun 15 07:58:46 GMT 2021

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

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

Back to the top