Path: csiph.com!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: Layout Doesn't Work Date: Wed, 08 Aug 2012 14:00:19 -0400 Organization: A noiseless patient Spider Lines: 15 Message-ID: References: <75d52d16-d119-4cee-a9b3-426de8ccbb5d@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 8 Aug 2012 17:57:07 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="6a6a291fa7e9c0bd872c1a9cbe2b371d"; logging-data="31755"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+a/7mO+VDcYRzM0Y7gbP4B7ou3CxD/2EE=" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20120613 Icedove/3.0.11 In-Reply-To: Cancel-Lock: sha1:MrB8k6Dhlf20NNJAlGaqX3qQeFY= Xref: csiph.com comp.lang.java.programmer:17361 On 08/08/2012 11:22 AM, Jeff Higgins wrote: > Since my last post I have come up with a possible use for > a disappearing label. > In the TextComponentDemo, located here: > > > you might use the technique to enable/disable the status label > component. I'm not sure it's a great idea but, what the heck. I just > about have the code stripped down to demonstrate the idea and will post > back here when I am able. Unless of course someone in the meantime > writes in telling me that that is a real crappy idea, and comes up with > something better. > Nope, turns out Container's add and remove methods work better here.