-
GIF Image loading problem in an Dynamic Applet - urgent
I am making a Dynamic Banner Applet where each image has a specified amount
of time to be displayed.
The problem is that if the first image to be displayed happens to be an animated
GIF then the applet does not pick up the rest of the images after the amount
of time for the first image has expired. It keeps repeating the first image
itself.
The applet works in all other cases.
-
Re: GIF Image loading problem in an Dynamic Applet - urgent
Hi gaurav,
The problem with applets is it has poor support for gif
pictures. When you load a GIF pix in yr applet,
the paint() method is called in an infinite loop and hence other
pictures do not get loaded. This can be verified by putting a
System.out statemnt in yr paint method and looking at the o/p in
the java console.
"Gaurav" <Gaurav_Kumar@satyam.com> wrote:
>
>I am making a Dynamic Banner Applet where each image has a specified amount
>of time to be displayed.
>The problem is that if the first image to be displayed happens to be an
animated
>GIF then the applet does not pick up the rest of the images after the amount
>of time for the first image has expired. It keeps repeating the first image
>itself.
>The applet works in all other cases.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks