Article View: borland.public.jbuilder.java.language
Article #15935Re: Need help on disappearing Swing controls
From: Andrew Bennett
Date: Sun, 18 Apr 1999 00:00
Date: Sun, 18 Apr 1999 00:00
22 lines
1234 bytes
1234 bytes
"Robert J. Muller" wrote: > My problem: the setVisible(true) doesn't make the control appear. If I > remove the initial setVisible(false), then the control appears > continuously and disappears after processing input (when I issue the > setVisible(false). Can anyone suggest why making the control invisible > in jbInit would make it impossible to show it later? Try a .repack() to let the layout manager know it's there. I think that will do it. Put it after the .setVisible(true) call. Andrew -- Andrew Bennett abennett@cruzio.com Note: I'm fairly busy in my personal life. Private email to this message may go un-noticed.
Technical Details
Message-ID:
<371A60C5.1F3E5F4E@cruzio.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<371768EA.14972F1D@valuestar.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,6c0a42b7722cc186 X-Google-Attributes: gidf74b3,public From: Andrew Bennett <abennett@cruzio.com> Subject: Re: Need help on disappearing Swing controls Date: 1999/04/18 Message-ID: <371A60C5.1F3E5F4E@cruzio.com> X-Deja-AN: 468082477 Content-Transfer-Encoding: 7bit References: <371768EA.14972F1D@valuestar.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language