🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How do you resize components after a container is removed?

#14541
From: Mica Cooper
Date: Fri, 20 Aug 1999 00:00
11 lines
914 bytes
Howdy,

Here is a puzzle, I have a frame with a master panel. The master panel
contains a Borderlayout with two panels, west and center. Upon pressing a
button, I want to make the west panel disappear, press again, and reappear,
automatically resizing the center panel. I can get this to happen with the
center panel but the components in the panel do not resize appropriately.
What is the trick?

Thanks,
Mica
Technical Details
Message-ID: <7pk7dn$88v22@forums.borland.com>
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,d688ef059c838a11,start
X-Google-Attributes: gidf74b3,public
From: "Mica Cooper" <micac@email.com.removethis>
Subject: How do you resize components after a container is removed?
Date: 1999/08/20
Message-ID: <7pk7dn$88v22@forums.borland.com>
X-Deja-AN: 515216567
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.language