🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JPopupMenu problems

#8951
From: Janene McCrillis
Date: Wed, 14 Jun 2000 00:00
10 lines
912 bytes
I need a popup menu that is dynamic, items come and go based on other
events. As far as I can tell, one cannot remove items with JPopupMenu?
Am I going to have to use the AWT popup?  I also can't figure out how to
intercept item selection at the menu level, rather than the item level -
perhaps adding the same listener to all items?

TIA!

Janene McCrillis
Lockheed Martin
Technical Details
Message-ID: <3948134E.7E8B180C@indra.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,47179425613a488b,start
X-Google-Attributes: gid111d45,public
From: Janene McCrillis <jmccrillis-remove-this-nospam@indra.com>
Subject: JPopupMenu problems
Date: 2000/06/14
Message-ID: <3948134E.7E8B180C@indra.com>
X-Deja-AN: 634658097
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing