• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about gif image and AWT (Threads)

 
Henrik Engert
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to be able to show a gif image that spins (like a progress). I am able to show the gif image and it is working like it should, but as soon as I do some heavy computing the gif animation stops.

I have tried to somehow put the gif image in a seperate thread but it still does not work.

How would you go about fixing this issue?

Thanks.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
put the "heavy computing" in a separate thread
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using so much processing that a 5K gif image won't spin, then the solution is probably solved easier with a dual-core processor than Java threading.

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic