Article View: borland.public.jbuilder.java.language
Article #18481Re: panel.doLayout() causing trouble in JB2
From: Richard Wilkman
Date: Thu, 11 Jun 1998 00:00
Date: Thu, 11 Jun 1998 00:00
73 lines
3053 bytes
3053 bytes
Alex: You are mixing heavyweight and lightweight compoments already (check the hint's and tips.txt file for a list) Joe Nuxoll posted a "how to" on switching. There are two mechanisms and you have to decide which set of tradeoffs you want to deal with. -Rich Alex Humphreys wrote: > > 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 > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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:
<357FFA43.3F7D1CFD@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<357ECFFA.44F0D700@sema4.com> <357EEFE4.FDC62632@inprise.com> <357EFFD0.3FF5247E@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/11 Message-ID: <357FFA43.3F7D1CFD@inprise.com> X-Deja-AN: 361723138 Content-Transfer-Encoding: 7bit References: <357ECFFA.44F0D700@sema4.com> <357EEFE4.FDC62632@inprise.com> <357EFFD0.3FF5247E@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