View Full Version : Java applet -> Animated backround. How?
Hi,
One fast question, how to do animated backrounds to java applets?
By manipulating the contents pane of an applet, calling the repaint method in a timely managed code to redraw/repaint text/image(s) inside the ContentsPage of a given applet. The same is also true for JFrames, Frame from the java.awt.* package.
Check out the following url which illustrates a simple example of repainting on an applet....by means of event handling.
http://www.javacoffeebreak.com/java107/java107.html
Cheers,
Ess
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.