🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #10735

Re: MDI internal frame max problem

#10735
From: wim.van.leuven
Date: Tue, 17 Aug 1999 00:00
40 lines
2100 bytes
Hello John,

By reading your message (the part telling the JInternalFrame is
overlapping the menubar) I get the impression you have added the
menubar to the desktop of the JFrame, instead of calling
JFrame.setJMenuBar(JMenuBar menu) to set the menu of the frame.
Another possibiliy is that you have added the internal frame directly
to the JFrame or it's contentpanel. I suppose you have done this,
because you state that the internal frame gets maximized with the
enclosing frame. When working with InternalFrame you should add
a JDesktopPane to the JFrame and add internal frames to this desktop
pane. You can set the menuBar of the JFrame as explaine above.

Hope this helped.

Wim Van Leuven.



In article <37B8BB63.22FAE2E8@carolina.rr.com>,
  "John J. Matsche" <jmatsche@carolina.rr.com> wrote:
> Having a problem with an MDI internal frame (JInternalFrame).
Whenever
> I maximize the JFrame, the JInternalFrame will automatically maximize
> with it and cover up the menu bar on the JFrame.  It also leaves a
> comparable size space below the JInternalFrame so that you can plainly
> see the scroll bar of the JFrame.  If I subsequently reduce the
> JInternalFrame, the JFrame menu is gone!
>
> Surely Java is better than this.   I must be doing something wrong.
Can
> anyone help?
>
> John
>
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Technical Details
Message-ID: <7pb82k$jp3$1@nnrp1.deja.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37B8BB63.22FAE2E8@carolina.rr.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,867f40309b719401
X-Google-Attributes: gid111d45,public
From: wim.van.leuven@watco.be
Subject: Re: MDI internal frame max problem
Date: 1999/08/17
Message-ID: <7pb82k$jp3$1@nnrp1.deja.com>
X-Deja-AN: 513708837
References: <37B8BB63.22FAE2E8@carolina.rr.com>
X-Http-Proxy: 1.0 x37.deja.com:80 (Squid/1.1.22) for client 193.74.148.90
Organization: Deja.com - Share what you know. Learn what you don't.
X-Article-Creation-Date: Tue Aug 17 08:55:50 1999 GMT
X-MyDeja-Info: XMYDJUIDvlv
Newsgroups: borland.public.jbuilder.java.swing
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)