🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #8770

Re: Flashing

#8770
From: Rich Wilkman
Date: Wed, 19 Jul 2000 00:00
40 lines
1779 bytes
Paul:

I don't know if the heavyweight v. lightweight item has survived into
the most recent hints and tips files.

-Rich

"Paul Furbacher [TeamB]" wrote:
> 
> Velu Erwan wrote:
> >
> > yeah, now it's working like this !
> > how can i fix it ?
> > The combo works as i want but it's flashing !
> 
> That indeed means, as was pointed out several times
> in a separate thread, that you are mixing light- and
> heavyweight components.
> 
> Try the simplest case:
> 
> 1. Create a new Frame, not a JFrame.
> 2. Place your JComboBox onto that Frame.  Make sure it
>    has a lot of room between the bottom edge of the
>    combobox and the bottom of the frame.  To do the
>    test properly, you don't want to have the list
>    exceed the bottom of the window.
> 3. Programmatically set three items in that combobox.
> 4. Run.
> 
> Do you now see the drop-down list?  (You shouldn't.
> You should only see a bit of flicker.)
> 
> Now, do the same 4 steps, but use a JFrame.
> 
> For more background on the light- / heavyweight issue,
> please read the "Hints and Tips.txt" file in the JBuilder
> folder.
> 
> Paul Furbacher (TeamB)
Technical Details
Message-ID: <39762BFC.6F9FE158@formlessvoid.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8l4l9q$rf03@bornews.borland.com> <3975E620.6486408C@home.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,3ceb9ef0c9922748
X-Google-Attributes: gid111d45,public
From: Rich Wilkman <richw@formlessvoid.com>
Subject: Re: Flashing
Date: 2000/07/19
Message-ID: <39762BFC.6F9FE158@formlessvoid.com>
X-Deja-AN: 648391482
Content-Transfer-Encoding: 7bit
References: <8l4l9q$rf03@bornews.borland.com> <3975E620.6486408C@home.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: 19 Jul 2000 15:20:30 -0800, 165.227.58.108
MIME-Version: 1.0
Reply-To: richw@formlessvoid.com
Newsgroups: borland.public.jbuilder.java.swing