🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18031

MenuBar inconsistencies

#18031
From: John Niesz
Date: Mon, 24 Aug 1998 00:00
19 lines
1504 bytes
In a program I've been working on, I'm using menus on 4 different Frame
instances, not neccessarily all at the same time.  On two of them, the
runtime recognizes the need for extra space to display the menu above
the contents of the Frame itself, and it displays fine.  On the other
two, however, it doesn't allocate the display space, and my components
wind up getting pushed past the bottom of the window, forcing the user
to manually resize the window (quite annoying).  I'm using JDK1.1.2
(JBuilder 1.0 Pro version) and pack() all the windows AFTER adding the
menubar AND the components.  The two that work use nested panels,
whereas the two that don't work use only a single panel, but this is not
the reason (I changed one of the ones that doesn't work to use nested
panels and it still didn't work).

Has anyone else had this problem and found a way around it?  Is this a
bug in JDK1.1.2 that is fixed in later versions? (or worse, still not
fixed?)

Thanks for your help!
John
Technical Details
Message-ID: <35E0EAC0.700F2365@worldnet.att.net>
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: f74b3,eb9a336ede413ec0,start
X-Google-Attributes: gidf74b3,public
From: John Niesz <sunrunner15@worldnet.att.net>
Subject: MenuBar inconsistencies
Date: 1998/08/24
Message-ID: <35E0EAC0.700F2365@worldnet.att.net>
X-Deja-AN: 384082430
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language