πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Problem with loading images

#15918
From: Richard Wilkman
Date: Thu, 15 Apr 1999 00:00
32 lines
1515 bytes
You need to use a MediaTracker to load your image.  That's the most
common cause of failure (not using a MediaTracker).

It's a different scenario if you are extending some widget that has
image capability, though.

-Rich

οΏ½yvind Restad wrote:
> 
> I have created my own component(An ImageButton).
> The problem is that the image which is used in the button isn't
> always loaded (The button becomes invisible).
> 
> I am using the Toolkit for loading the image.
> 
> What is the problem?

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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: <371654BB.C7F62A3B@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3716371A.55F87B97@hinux.hin.no>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,c4496949cc18b479
X-Google-Attributes: gidf74b3,public
From: Richard Wilkman <rwilkman@inprise.com>
Subject: Re: Problem with loading images
Date: 1999/04/15
Message-ID: <371654BB.C7F62A3B@inprise.com>
X-Deja-AN: 466869893
Content-Transfer-Encoding: 8bit
References: <3716371A.55F87B97@hinux.hin.no>
Content-Type: text/plain; charset=iso-8859-1
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language