Article View: borland.public.jbuilder.java.swing
Article #11970Re: how dispose of a button?
From: Matt Krevs
Date: Tue, 23 Mar 1999 00:00
Date: Tue, 23 Mar 1999 00:00
15 lines
1083 bytes
1083 bytes
if you added the button to a window theWindow.getContentPane().remove( theButton ) otherwise theContainer.remove( theButton ) Alex B. Humphreys <ahumphreys@sema4.com> wrote in message news:36F67A4D.699B051@sema4.com... > What's the cleanest way to remove a component from the screen? I have a > ButtonControl in a JLayeredPane that I want to remove at certain > points. setVisible(false) doesn't actually remove it and > layeredPane.remove(button) doesn't seem to do anything. >
Technical Details
Message-ID:
<7d6d7j$jdi19@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<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: "Matt Krevs" <mattkrevs@flex.com.au> Subject: Re: how dispose of a button? Date: 1999/03/23 Message-ID: <7d6d7j$jdi19@forums.borland.com> X-Deja-AN: 457714090 References: <36F67A4D.699B051@sema4.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Reply-To: "Matt Krevs" <mattkrevs@flex.com.au> Newsgroups: borland.public.jbuilder.java.swing