🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18813

Re: Component doesn't show up with setVisible()!!!

#18813
From: Conrad Hoesle-Kienzlen
Date: Fri, 17 Apr 1998 00:00
42 lines
1514 bytes
Frank,
did you use the pack() method?
...Conrad

Frank Reimering wrote:

> Hello,
>
> Can anyone help me out with this one.
>
> I got a frame with a bevelpanel in it. This bevelpanel acts like a
> container and therefore I can drop for example a button in it.
>
> OK, nothing special yet.
>
> Using the button 's setVisible() method I can make it visible/invisible
> at
> run-time. But when I change the button's visible property to false in
> the
> JBuilder designshop and run my program/applet again. The component
> doesn't
> show up when the visible property is set true.
>
> Very strange.
>
> The component does show up when you resize your applet/program screen!!!
>
> What am I doing wrong??? Or is this some kind of lousy JBuilder bug?
>
> Best regards,
>
>                 Frank Reimering
>                 The Netherlands



--
Conrad Hoesle-Kienzlen
CHK IT-Consulting

<http://ourworld.compuserve.com/homepages/conrad_hoesle>
Technical Details
Message-ID: <3537BE7C.8BBF773D@csi.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3537902B.4159@tref.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,73286f5847e081cc
X-Google-Attributes: gidf74b3,public
From: Conrad Hoesle-Kienzlen <Conrad_Hoesle@csi.com>
Subject: Re: Component doesn't show up with setVisible()!!!
Date: 1998/04/17
Message-ID: <3537BE7C.8BBF773D@csi.com>
X-Deja-AN: 345156960
Content-Transfer-Encoding: 7bit
References: <3537902B.4159@tref.nl>
Content-Type: text/plain; charset=us-ascii
Organization: CHK IT-Consulting
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language