🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JPopMenu

#1480
From: Mark Patton
Date: Sat, 06 Dec 2003 18:43
18 lines
1432 bytes
Have you added event listeners to your menu items?  like

myPopopMenuItem.addActionListener(new ActionListener()
{
    public void actionPerformed(ActionEvent e)
    {
        doSomethingWithMenuClick();
    }
});

"Matthew Sweet" <matthew.sweet@sed.redstone.army.mil> wrote in message
news:3fc91888$1@newsgroups.borland.com...
> In regards to just JPopMenu. How to you process whatever you've selected
> from a pop-up menu? I've implemented a pop-up menu but just haven't
figured
> out how to process the item selected.
>
>
Technical Details
Message-ID: <3fd22369$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fc91888$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c438a15020948ab0
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-12-06 11:10:04 PST
Reply-To: "Mark Patton" <mp112849@hotmail.com>
From: "Mark Patton" <mp112849@hotmail.com>
Newsgroups: borland.public.jbuilder.java.swing
References: <3fc91888$1@newsgroups.borland.com>
Subject: Re: JPopMenu
Date: Sat, 6 Dec 2003 13:43:53 -0500
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
NNTP-Posting-Host: 68.163.251.56
Message-ID: <3fd22369$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1070736233 68.163.251.56 (6 Dec 2003 10:43:53 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail