On Sat, 28 Nov 1998, Thomas Okken wrote:
> In my processMouseEvent method, I check for mouse clicks in a certain
> place, and then I try to pop up the menu by saying
> 
> mypopup.show(this, X, Y);
> The documentation for PopupMenu.show() mentions a "parent", but I can't
> figure out how to
> set it.
 I've had this problem before. You have to "add" the popup menu to the 
component via component.add(mypopup). Then it should work.

Correct me if I've forgotten something!

Greetings,

Magnus

Reply via email to