🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: panel.doLayout() causing trouble in JB2

#18472
From: Alex Humphreys
Date: Wed, 10 Jun 1998 00:00
46 lines
2158 bytes
Swing 1.02?  how do I switch?  I'm just using what came with my version of
JB2.  Would the choiceControls appearing half-off the screen be considered a
ghosting problem?  I'll look into whether or not I'm using both lightweight
and heavyweight components.

Thanks.

Richard Wilkman wrote:

> 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: <357EFFD0.3FF5247E@sema4.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <357ECFFA.44F0D700@sema4.com> <357EEFE4.FDC62632@inprise.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: Alex Humphreys <ahumphreys@sema4.com>
Subject: Re: panel.doLayout() causing trouble in JB2
Date: 1998/06/10
Message-ID: <357EFFD0.3FF5247E@sema4.com>
X-Deja-AN: 361499974
Content-Transfer-Encoding: 7bit
References: <357ECFFA.44F0D700@sema4.com> <357EEFE4.FDC62632@inprise.com>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language