🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #1352

JPopupMenu and Applets

#1352
From: Lans Redmond
Date: Fri, 16 Jan 2004 23:37
11 lines
1234 bytes
I have an applet that I need to know add a popup menu, I have added the following code to the MouseRelease Event

if ( menu.isPopupTrigger(e))
  System.out.println("MouseEvent Triggered");
  int x = x.getX();
  int y = y.getY();
  menu.show(e.getComponent(),x,y);


when I check the java console , I see that the even is being fired because I see the printout I did.  My problem is when the event is fired I do not see the popup menu.
Technical Details
Message-ID: <400883c2$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,7fc519a21df100d3,start
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2004-01-16 16:39:56 PST
From: "Lans Redmond" <lredmond@bn.com>
Sender: "Lans Redmond" <lredmond@bn.com>
Reply-To: "Lans Redmond" <lredmond@bn.com>
Subject: JPopupMenu and Applets
Newsgroups: borland.public.jbuilder.java.swing
X-User-Info: 24.29.121.248     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <400883c2$1@newsgroups.borland.com>
Date: 16 Jan 2004 16:37:22 -0700
X-Trace: newsgroups.borland.com 1074299842 207.105.83.66 (16 Jan 2004 16:37:22 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail