import javax.swing.JApplet; import java.awt.Graphics; import java.util.Scanner; // Remember, if Java is complaining about not finding some of the // pieces of external code its needs, in Eclipse go to // Source/OrganizeImports and it will find what you need // and insert the necessary 'import' statements for you. public class HappyWild extends JApplet { // This will enlarge the size of the Applet window. // (It will be called automatically by the Applet.) public void init() { setSize(500,500); } public void paint( Graphics canvas ) { // Put your code here. You may copy and paste portions of // Java code from from Listing 1.2 (Happy Face) // and your Program 2 (Wild Face) // Copy and paste only the Java statements // canvas.drawOval(....) // Do not add any method headers such as // public void paint( Graphics canvas ) // As with Program 2, your finished Program 3 will contain 2 methods: // init // paint }