Article View: borland.public.jbuilder.java.language
Article #16228Re: Popup Menu
From: Martin Gaeckler
Date: Sat, 20 Mar 1999 00:00
Date: Sat, 20 Mar 1999 00:00
29 lines
1681 bytes
1681 bytes
Hi, Jason Burton wrote: > > >I have a simple applet that contains a Button, a Label, a TextField, > >a GridControl and a JPopupMenu. > > > >When the user clicks on the button I want to show the popup menu. The > >menu appears, but it is overlapped by the label and the edit control > >not the grid control. What can I do? > > It sounds like the typical heavyweight vs. lightweight issue. The AWT > classes are heavyweight, the Swing classes are lightweight, and they don't > behave right when used with one another. Use either AWT or Swing classes in > a Window, but not both. See hintsandtips.txt in you JBuilder install > directory for more info. > > Jason Burton Thanky You very much. Changing JPopupMenu to PopupMenu solved the problem. Martin -- ---------------------------------------------------------------------- Phone: +49-89-65 30 95 63 Fax: +49-89-65 30 95 64 WWW: http://home.t-online.de/home/agilus S-Mail: Arminiusstr. 3a D-81543 M๏ฟฝnchen
Technical Details
Message-ID:
<36F3EAFD.F97DE1F8@mail.rmc.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36F273F0.8FDBDD59@mail.rmc.de> <7cud5h$c5g14@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f74b3,bd82ef26ca09ae49 X-Google-Attributes: gidf74b3,public From: Martin Gaeckler <gaeckler@mail.rmc.de> Subject: Re: Popup Menu Date: 1999/03/20 Message-ID: <36F3EAFD.F97DE1F8@mail.rmc.de> X-Deja-AN: 456992136 Content-Transfer-Encoding: 8bit References: <36F273F0.8FDBDD59@mail.rmc.de> <7cud5h$c5g14@forums.borland.com> To: Jason Burton <Jason.Burton@McLeodSoftware.com> X-Accept-Language: en Content-Type: text/plain; charset=iso-8859-1 Organization: AGILUS mbH iG Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language