A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
i want to animated the pic at applet like a gif
Joined: Jan 09, 2003
Jan 11, 2003 15:34:00
im loading the three pic at
with same layer .. show one by one by the thread but it load third at time of initializing of applet it has loaded the pic i want it after the loading of applet
if u learn to break the rock .. next day u will be looking to Mountain.
Joined: Oct 18, 2000
Jan 13, 2003 07:50:00
Start the thread in the start() method of the applet. If it still doesn't work, try making the animation thread sleep() a few seconds before starting the animation.
You also may need to load your images with a MediaTracker... The applet may be trying to animate your images before the images are completly loaded.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: i want to animated the pic at applet like a gif
loading a pic in java
LOTS of games for a Thursday morning
how can I make a buffer of picture on client port?
how to animate the pic
loading java applet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014