🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: panel.doLayout() causing trouble in JB2

#18469
From: Richard Wilkman
Date: Wed, 10 Jun 1998 00:00
37 lines
1769 bytes
Alex:

Sounds like the ghosting problems sometimes seen with Swing.  Try
Swing 1.02 and make sure you aren't mixing and matching lightweight
and heavyweight containers and components.

-Rich

Alex Humphreys wrote:
> 
> I have a panel with controls that change based on user-defined events.
> In JB1, I was doing a panel.doLayout() after applying showing the new
> buttons and such.  Now, for some reason the doLayout causes the new
> buttons to be seen and such, but they appear half-off the panel at the
> top of the screen.   Also, I get some junk seen behind the visible
> controls that are set disabled.
> 
> Any ideas?  repaint() on the panel doesn't seem to do anything.  I'm
> using jbcl controls, mostly.
> 
> Thanks.

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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: <357EEFE4.FDC62632@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <357ECFFA.44F0D700@sema4.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,601479374092cb5e
X-Google-Attributes: gidf74b3,public
From: Richard Wilkman <rwilkman@inprise.com>
Subject: Re: panel.doLayout() causing trouble in JB2
Date: 1998/06/10
Message-ID: <357EEFE4.FDC62632@inprise.com>
X-Deja-AN: 361478151
Content-Transfer-Encoding: 7bit
References: <357ECFFA.44F0D700@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