🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: how dispose of a button?

#11815
From: Brian Duff
Date: Mon, 29 Mar 1999 00:00
7 lines
750 bytes
Alex B. Humphreys wrote:
> What's the cleanest way to remove a component from the screen? 

setVisible(false) will work if you call validate() on the container
afterwards. This forces the container to lay itself out again.

Brian
Technical Details
Message-ID: <36FEBE1A.F02447EA@btinternet.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36F67A4D.699B051@sema4.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,53a81a2315f28fa9
X-Google-Attributes: gid111d45,public
From: Brian Duff <dubh@btinternet.com>
Subject: Re: how dispose of a button?
Date: 1999/03/29
Message-ID: <36FEBE1A.F02447EA@btinternet.com>
X-Deja-AN: 460138879
Content-Transfer-Encoding: 7bit
References: <36F67A4D.699B051@sema4.com>
Content-Type: text/plain; charset=us-ascii
Organization: Oracle Corporation UK
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing