Applet generates nice flaming effect. The applet first generates precalculated flame palette for the flame colors and then draws a white line to the bottom of the canvas. With each frame the white line is blurred upwards and each pixel’s alpha value is used as a color index in precalculated color array. The source code is available under the LGPL license.
Download the source code with NetBeans IDE (v5.5) project files here.