Ok, here is a little example:
********** cut here: BufferedImgExample.html **********
<title></title>
<hr>
<applet code=BufferedImgExample.class width=200 height=200>
Your browser not support JAVA</applet>
<hr>
********** cut here ***********************************
********** cut here: BufferedImgExample.java **********
import java.applet.*;
import java.awt.*;
public class BufferedImgExample extends Applet {
static Image pic;
public void init() {
pic=createImage(200, 40);
Graphics g=pic.getGraphics();
g.setColor(Color.yellow);
g.fillRect(0, 0, 200, 40);
g.setColor(Color.red);
g.drawString("I'm a buffered image

.", 1, 20);
}
public void paint(Graphics g) {
g.drawImage(pic, 0, 0, this);
}
}
********** cut here ***********************************
Good luck.
Bye, Otto.