Article View: borland.public.jbuilder.java.swing
Article #11967how dispose of a button?
From: Alex B. Humphreys
Date: Mon, 22 Mar 1999 00:00
Date: Mon, 22 Mar 1999 00:00
4 lines
750 bytes
750 bytes
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:
<36F67A4D.699B051@sema4.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,53a81a2315f28fa9,start X-Google-Attributes: gid111d45,public From: "Alex B. Humphreys" <ahumphreys@sema4.com> Subject: how dispose of a button? Date: 1999/03/22 Message-ID: <36F67A4D.699B051@sema4.com> X-Deja-AN: 457622664 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Semaphore, Inc. Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing