[3933] in java-interest
RE: sun.awt.image.URLImageSource on Win95
daemon@ATHENA.MIT.EDU (Mitch Mastellone)
Mon Dec 4 19:05:36 1995
From: mitch@gate.garden.net (Mitch Mastellone)
To: "'Ed Anuff'" <edanuff@protagonist.com>,
"java-interest@java.sun.com"
<java-interest@java.sun.com>
Date: Mon, 4 Dec 1995 12:04:57 -0500
----------
From: Ed Anuff[SMTP:edanuff@protagonist.com]
Sent: Sunday, December 03, 1995 6:39 PM
To: java-interest@java.sun.com
Subject: Re: sun.awt.image.URLImageSource on Win95
>I'm not having any luck creating images using sun.awt.image.URLImageSource
>running on Win95. Has anyone tried this with successful or unsuccessful
>results?
Ok, solved the problem - sorry about the post.
It appears that createImage() doesn't work unless the component is shown first.
Ed
Use MediaTracker to load the images on init(), before doing anything else, ie before any createImage() calls.
Mitch
Ed Anuff
Protagonist Interactive
edanuff@protagonist.com
http://www.protagonist.com/
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com