Article View: borland.public.jbuilder.java.language
Article #18653Re: setVisible only works if set to true on jbinit??!!?
From: Rich Wilkman
Date: Wed, 13 May 1998 00:00
Date: Wed, 13 May 1998 00:00
40 lines
1596 bytes
1596 bytes
Alex: Try a component.repaint() after the property set (or a doLayout() on the container). Nothing to do with jbInit(). repaint() on property set is a good habit to get into -- esp. if you are going to move on to Swing. -Rich Alex Humphreys wrote: > > I'm trying to make a button appear on a user-defined event, but for some > reason I can't toggle the visible property of any object UNLESS the > object is set to visible=true upon initialization. This doesn't make > sense. > > What am I missing? > > Thanks. > > --alex -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rich Wilkman Senior Quality Assurance Engineer Borland JBuilder Team If you see something that looks like an opinion up there, it's mine and mine alone. Mail sent to me from the newsgroups won't bounce but will be ignored. If I have time, I'll respond, but you have a better chance if you confine your posts to the newsgroups =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<355A047F.A57CAF5D@corp.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3559C557.D397B203@sema4.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,ca3877f561ab7de6 X-Google-Attributes: gidf74b3,public From: Rich Wilkman <rwilkman@corp.borland.com> Subject: Re: setVisible only works if set to true on jbinit??!!? Date: 1998/05/13 Message-ID: <355A047F.A57CAF5D@corp.borland.com> X-Deja-AN: 352987223 Content-Transfer-Encoding: 7bit References: <3559C557.D397B203@sema4.com> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language