import java.awt.*;
import java.applet.*;
import javax.swing.*;
public class JEventImageJavaExample extends JApplet
{
Image img;
final int WIDTH = 338;
final int HEIGHT = 124;
public void init()
{
img = getImage(getCodeBase(),"Koala.jpg");
}
public void paint(Graphics gr)
{
super.paint(gr);
gr.drawImage(img, 0, 0, this);
gr.drawImage(img, 0,0, WIDTH * 2, HEIGHT * 2, this);
}
}