A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Question about gif image and AWT (Threads)
Joined: Apr 26, 2005
Jan 04, 2007 08:03:00
I want to be able to show a gif
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?
SCJP 5.0, SCWCD
Joined: Jun 09, 2003
Jan 04, 2007 10:49:00
put the "heavy computing" in a separate thread
Cameron Wallace McKenzie
author and cow tipper
Joined: Aug 26, 2006
Jan 04, 2007 12:11:00
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
I agree. Here's the link:
subject: Question about gif image and AWT (Threads)
Runtime getRuntime() exec(String command) - How does this work?
J2SE 1.5 Image I/O unable to write gif files?
How do i go about displaying text and graphic files in java?
How to pass different request Parameters
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015