Article View: borland.public.jbuilder.java.swing
Article #11977Re: Obscured submenu
From: Leo Cohen
Date: Tue, 23 Mar 1999 00:00
Date: Tue, 23 Mar 1999 00:00
34 lines
1643 bytes
1643 bytes
Tor Iver Wilhelmsen wrote: > > Leo Cohen <lcohen@cs.virginia.edu> writes: > > > I have a JMenu in a JFrame. If a JDialog is placed in the frame so that > > a menu command submenu would lie over it, it doesn't. That is, the > > JDialog stays on top of the submenu, and I have to move the dialog to > > see the submenu. > > Dialogs are separate windows, and aren't "in" the frame that is their > parent. Are you sure that is what you want to use? ************ Dialogs seem to work well enough, and I don't care that their location is not limited by the window's boundaries. What is curious is that this covering behaviour is variable: if I shrink the parent window so that it is about 100 pixels high, then the dialogs do not block the sub menus. At 150, the dialogs block some of the sub menus, but not all. After that, they are all blocked. ???? ********************* Leo. -- Leo Cohen 116-1 Howard Drive Charlottesville, VA 22903 804-243-8922 (UVA) 804-244-4648 (home) 804-244-7922 (home fax) 815-550-9313 (office fax) lcohen@cs.virginia.edu
Technical Details
Message-ID:
<36F7ED84.52BBE482@cs.virginia.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36F57503.F6F0ACEA@cs.virginia.edu> <u677t51nt.fsf@sds.no>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,8061ef30ce3fafbe X-Google-Attributes: gid111d45,public From: Leo Cohen <lcohen@cs.virginia.edu> Subject: Re: Obscured submenu Date: 1999/03/23 Message-ID: <36F7ED84.52BBE482@cs.virginia.edu> X-Deja-AN: 458081996 Content-Transfer-Encoding: 7bit References: <36F57503.F6F0ACEA@cs.virginia.edu> <u677t51nt.fsf@sds.no> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing