/* * @(#)Kuva.java 1.0 01/11/29 * * You can modify the template of this file in the * directory ..\JCreator\Templates\Template_2\Project_Name.java * * You can also create your own project template by making a new * folder in the directory ..\JCreator\Template\. Use the other * templates as examples. * */ import java.awt.*; import java.applet.*; public class NaytaKuva extends Applet { Image kuva; public void init() { kuva = getImage(getCodeBase(), "talvi.jpg"); } public void paint(Graphics g) { g.drawImage(kuva, 0, 0, this); } }