🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Resizing problems

#7639
From: Torsten Welches
Date: Wed, 10 Jan 2001 19:45
30 lines
1897 bytes
Sam,

please post your code so we can have a look. The code should be stripped
down to the minimum that demonstrates the problem.

Regards,
Torsten

Sam schrieb in Nachricht <3A5CBA35.FBDC69B0@home.com>...
>Hi all-
>
>I'm trying to allow a user to resize a GUI.  I'm trying to get it
>working on a test application first, which has a table within a scroll
>pane, on a panel in a frame.  When the frame is resized, I'd like the
>scroll pane to adjust its size based on a percentage of the size of the
>frame.
>
>I'm trying to use the XYLayout, but it seems that no matter what I do
>(e.g. set bounds, delete and re-add the component, set preferred sizes,
>etc) the sizes of the components always go back to their initial size.
>Sometimes you can see the scroll pane flash to the correct size for a
>moment, but then it resizes to the original XYConstraints.
>
>I was hoping not to use a different layout manager, if possible.
>
>Can anyone tell me what I'm doing wrong?
>Thanks
>Sam
>
>BTW, I'm using JBuilder3.
Technical Details
Message-ID: <3a5cbc96_1@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.cs.utwente.nl!newsgate.cistron.nl!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!195.14.226.68
References: <3A5CBA35.FBDC69B0@home.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,ecab773c49c5caa6
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2001-01-10 11:56:27 PST
From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Newsgroups: borland.public.jbuilder.java.swing
References: <3A5CBA35.FBDC69B0@home.com>
Subject: Re: Resizing problems
Date: Wed, 10 Jan 2001 20:45:58 +0100
Lines: 32
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MIMEOLE: Produced By Microsoft MimeOLE V4.72.3110.3
NNTP-Posting-Host: 195.14.226.68
Message-ID: <3a5cbc96_1@dnews>
X-Trace: 10 Jan 2001 11:48:38 -0800, 195.14.226.68
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.cs.utwente.nl!newsgate.cistron.nl!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!195.14.226.68