🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Popup Menus

#12728
From: Steve Marchant
Date: Mon, 09 Nov 1998 00:00
12 lines
1009 bytes
OK, sussed it. Should use JMenu's as menu's in a popup, not PopupMenu's.

Steve Marchant wrote:
> 
> Anyone know how best to display cascaded popup menus ?
> 
> I've tried PopupMenu and it does not like the container class I'm passing to
> show() so I tried JPopupMenu which is a bit strange in that it takes either
> JMenuItem (which works) or PopupMenu (which does not seem to display when I call
> show().
> 
> Steve
Technical Details
Message-ID: <3646F250.FB6F60BC@dial.pipex.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36462060.9618DB75@dial.pipex.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,b34440a5aedcbb72
X-Google-Attributes: gid111d45,public
From: Steve Marchant <"steve.marchant(NOSPAM)"@dial.pipex.com>
Subject: Re: Popup Menus
Date: 1998/11/09
Message-ID: <3646F250.FB6F60BC@dial.pipex.com>
X-Deja-AN: 409937357
Content-Transfer-Encoding: 7bit
References: <36462060.9618DB75@dial.pipex.com>
Content-Type: text/plain; charset=us-ascii
Organization: UUNET WorldCom server (post doesn't reflect views of UUNET WorldCom)
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing