Article View: borland.public.jbuilder.java.language
Article #17648Re: Painting
From: joel.goldstein
Date: Wed, 14 Oct 1998 00:00
Date: Wed, 14 Oct 1998 00:00
60 lines
2919 bytes
2919 bytes
Amy Fowler notes in "Mixing Heavy and Light Components" (http://www.javasoft.com/products/jfc/swingdoc-current/mixing.html) that JWindow and JFrame are heavyweight components, does this mean that these will cause problems when trying to repaint lightweight (JFC) components that are placed in them? Thank You Joel In article <36237223.D0EBB9F8@inprise.com>, Richard Wilkman <rwilkman@inprise.com> wrote: > Lamont: > > That's a symptom of mixing lightweight and heavyweight components. > See your hintsandtips.txt file for more info and followup references. > It's a hugly important topic/concept for Swing and one that everyone > has to keep in the "forebrain" as JFC evolves. > > -Rich > > Lamont M. Beal wrote: > > > > Hello all, > > > > I am using JBuilder's TabSetPanel with four tabs sited on a Dialog. Each tab > > contains a main container panel (for adding additional components). When I > > display the Dialog box, I see every control from all the tabs on the > > TabSetPanel. I have to click on each tab before things look normal. For > > example, I have to click on all four tabs then click back to the first > > before each tab displays their intended set of components. > > > > I have tried calling a few paint methods but nothing works. > > > > Do I need to set the Dialog Box visible property to false, then to true > > after the TabSetPanel has drawn all the components? > > > > Do I call a repaint method? > > > > Do I highlight each tab in code before displaying the TabSetPanel component? > > > > I would greatly appreciate some help on this. Thanks > > > > Monty > > -- > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > 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 > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Technical Details
Message-ID:
<702e04$7iq$1@nnrp1.dejanews.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6vu5tb$dr413@forums.borland.com> <36237223.D0EBB9F8@inprise.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,b318e8a12650e49b X-Google-Attributes: gidf74b3,public From: joel.goldstein@ny.frb.org Subject: Re: Painting Date: 1998/10/14 Message-ID: <702e04$7iq$1@nnrp1.dejanews.com> X-Deja-AN: 400976401 References: <6vu5tb$dr413@forums.borland.com> <36237223.D0EBB9F8@inprise.com> X-Http-Proxy: 1.0 x10.dejanews.com:80 (Squid/1.1.22) for client 206.138.197.2 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Wed Oct 14 14:55:00 1998 GMT Newsgroups: borland.public.jbuilder.java.language X-Http-User-Agent: Mozilla/4.03 [en] (Win95; U)