🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JPopupMenu gets clipped

#12445
From: Vidur Dhanda
Date: Thu, 31 Dec 1998 00:00
8 lines
852 bytes
When I need to show a JPopupMenu with .show (component, x, y), the
easiest way is to pass the MouseEvent's source and x, y as the
arguments.  However, if the mouse event happens near the edge of the
component, then the popup menu gets clipped to the bounds of the
component.  How can I avoid this?

TIA
Vidur
Technical Details
Message-ID: <368B8D61.4981F58@active-solutions-inc.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,26f7a98056a183d5,start
X-Google-Attributes: gid111d45,public
From: Vidur Dhanda <vdhanda@active-solutions-inc.com>
Subject: JPopupMenu gets clipped
Date: 1998/12/31
Message-ID: <368B8D61.4981F58@active-solutions-inc.com>
X-Deja-AN: 427462206
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing