Article View: borland.public.jbuilder.java.swing
Article #1153Re: How to prevent MDI windows from being moved by user
From: John McGrath [TeamB]
Date: Fri, 19 Mar 2004 06:15
Date: Fri, 19 Mar 2004 06:15
25 lines
2248 bytes
2248 bytes
On 3/19/2004 at 12:01:31 AM, John T. Dow wrote:
> I am not aware of any of the layout managers that provide multiple
> panels simultaneously visible in a cascaded-type arrangement. (Maybe
> staggered is a better word, as "cascade" probably has a specific
> meaning?) The card layout only shows one at a time. The overlay
> layout is intended to show you all at once, using transparency.
Try the Borland XYLayout. This does not really do very much - it just
sets the bounds of its child components to the values set by the
caller. Normally the layout manager determines the bounds, so XYLayout
is really kind of a "slacker" of a layout manager.
What might makes more sense for your application is to write your own
layout manager. Since you already have the code that determines where
the panels should go, this should be trivial.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<405a9003$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!priapus.visi.com!orange.octanews.net!news-out.visi.com!petbe.visi.com!news.octanews.net!nntp.abs.net!newsfeed2.telusplanet.net!newsfeed.telusplanet.net!newsfeed.telus.net!xmission!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<405A1103.5040103@johntdow.com> <405a7912@newsgroups.borland.com> <405A7EAB.3080204@johntdow.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,7c722403acaaadbc X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2004-03-18 22:29:48 PST From: "John McGrath [TeamB]" <ng-b@JPMcGrath.net> Subject: Re: How to prevent MDI windows from being moved by user Newsgroups: borland.public.jbuilder.java.swing References: <405A1103.5040103@johntdow.com> <405a7912@newsgroups.borland.com> <405A7EAB.3080204@johntdow.com> User-Agent: XanaNews/1.16.1.11 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 NNTP-Posting-Host: 151.197.214.141 Message-ID: <405a9003$1@newsgroups.borland.com> Date: 18 Mar 2004 22:15:31 -0800 X-Trace: newsgroups.borland.com 1079676931 151.197.214.141 (18 Mar 2004 22:15:31 -0800) Lines: 25 X-Authenticated-User: jpmcgrath Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!priapus.visi.com!orange.octanews.net!news-out.visi.com!petbe.visi.com!news.octanews.net!nntp.abs.net!newsfeed2.telusplanet.net!newsfeed.telusplanet.net!newsfeed.telus.net!xmission!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail