Article View: borland.public.jbuilder.java.swing
Article #12296Re: URGENT!: JPopup Clipped on JDialog
From: Matt Krevs
Date: Fri, 29 Jan 1999 00:00
Date: Fri, 29 Jan 1999 00:00
32 lines
1491 bytes
1491 bytes
Try calling JPopupMenu.setDefaultLightweightPopupEnabled(false) I think this will make the popup a heavyweight component and therefore able to display if its bounds are outside the dialog. Let me know if this works because I havent actually done it myself. Timothy G. Mulle' wrote in message <78q4lb$4kg9@forums.borland.com>... >Hi: > >I am developing an application for a client and they want a modal dialog >open with a duallist picker control on it that has a popup menu on the right >mouse button. > >Everything works, BUT the JPopupMenu is being clipped inside the JDialog. > >I've tried everything from making the parent JFrame bigger than the >JDialog.. to making the JFrame visible. > >If I use a JFrame in place of the JDialog it works fine, but I lose the >modality I need. > > >Any help is greatly appreciated. > >Thanks, >Tim > > >
Technical Details
Message-ID:
<78qmln$53u7@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<78q4lb$4kg9@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,503ffc500b31f77e X-Google-Attributes: gid111d45,public X-Google-Thread: f5619,503ffc500b31f77e X-Google-Attributes: gidf5619,public From: "Matt Krevs" <mattkrevs@flex.com.au> Subject: Re: URGENT!: JPopup Clipped on JDialog Date: 1999/01/29 Message-ID: <78qmln$53u7@forums.borland.com> X-Deja-AN: 438096145 References: <78q4lb$4kg9@forums.borland.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing,borland.public.jbuilder.jbcl