🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2905

MenuBar inconsistencies

#2905
From: still
Date: Mon, 24 Aug 1998 00:00
19 lines
1372 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: <35e0eb67.28579161@netnews.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: 1089d0,af580e890beb056e,start
X-Google-Attributes: gid1089d0,public
From: still@large.com
Subject: MenuBar inconsistencies
Date: 1998/08/24
Message-ID: <35e0eb67.28579161@netnews.worldnet.att.net>
X-Deja-AN: 384082429
Organization: AT&T WorldNet Services
Newsgroups: borland.public.jbuilder.java.api