Article View: borland.public.jbuilder.java.swing
Article #12446Re: JPopupMenu gets clipped
From: Vasudevan Srinivasan
Date: Mon, 04 Jan 1999 00:00
Date: Mon, 04 Jan 1999 00:00
15 lines
1114 bytes
1114 bytes
Hi Are you sure you are not mixing awt and swing ? If you are mixing it, then the invisible part of popup menu is probably over the awt components. Vidur Dhanda wrote: > 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:
<3690D095.DDBD27EA@netrisk.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<368B8D61.4981F58@active-solutions-inc.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,26f7a98056a183d5 X-Google-Attributes: gid111d45,public From: Vasudevan Srinivasan <vasudevan@netrisk.com> Subject: Re: JPopupMenu gets clipped Date: 1999/01/04 Message-ID: <3690D095.DDBD27EA@netrisk.com> X-Deja-AN: 428636751 Content-Transfer-Encoding: 7bit References: <368B8D61.4981F58@active-solutions-inc.com> To: Vidur Dhanda <vdhanda@active-solutions-inc.com> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing