πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JPanel + images

#9217
From: JPBallet
Date: Mon, 15 May 2000 00:00
26 lines
1614 bytes
Thank's all works fine with one problem.
When push a button of my application, the first one the pictures are loading
very  slowly (very is an euphemism!!) but if i press an other button when i
come back  at the first one all works fine.
after all is ok and quickly.
what happen (buffer....)
Jean-Pierre Ballet
John P. McGrath a οΏ½crit dans le message ...
>On Fri, 12 May 2000 11:19:16 +0200, JPBallet wrote:
>
>> The problem is that several pictures become visible (the
>> first one and the last one in my frame)  then if i refresh
>> the application by clicking a button for example. The good
>> pictures appear. In fact i don't understand how put
>> pictures ( created in a class)  into a Jpanel of an other
>> class.
>
>It looks as if your code is adding the images to a MediaTracker, but it
>does not appear to call any of the MediaTracker wait methods.
>
>Perhaps you should call tracker.waitForAll() before the repaint().
>
>--
>John P. McGrath
><JPMcGrath@fast.net>
><jpm@nscs.fast.net>
Technical Details
Message-ID: <8foiit$4003@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8fe9js$nl76@bornews.borland.com> <MPG.138583b3e96de040989919@forums.borland.com> <8fghn9$el911@bornews.borland.com> <MPG.1389278977f2395d989926@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,943ecd5ebf895d8f
X-Google-Attributes: gid111d45,public
From: "JPBallet" <jean-pierre.ballet@meteo.fr>
Subject: Re: JPanel  + images
Date: 2000/05/15
Message-ID: <8foiit$4003@bornews.borland.com>
X-Deja-AN: 623554197
References: <8fe9js$nl76@bornews.borland.com> <MPG.138583b3e96de040989919@forums.borland.com> <8fghn9$el911@bornews.borland.com> <MPG.1389278977f2395d989926@forums.borland.com>
Organization: METEO-FRANCE
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.swing