🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: The simplest question

#10121
From: Tad Frysinger
Date: Tue, 09 Nov 1999 00:00
16 lines
945 bytes
In the event handler for the toolbar, do:  popupMenu.show().  You have to
independently write handlers for the menu items that get selected.

Tad Frysinger(TeamB)

Eduardo Elgueta wrote:

> Hi All,
>
> How can I show a pop up menu when the users clicks on a toolbar button.
>
> BTW, I'm using swing components.
>
> Thank you.
>
> Ed.
Technical Details
Message-ID: <38283442.3ED5CA88@earthlink.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7vsvq2$a2o9@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,791adfd1f3c7455
X-Google-Attributes: gid111d45,public
From: Tad Frysinger <tfrysinger@earthlink.net>
Subject: Re: The simplest question
Date: 1999/11/09
Message-ID: <38283442.3ED5CA88@earthlink.net>
X-Deja-AN: 546459722
Content-Transfer-Encoding: 7bit
References: <7vsvq2$a2o9@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: tfrysinger@earthlink.net
Newsgroups: borland.public.jbuilder.java.swing