import javax.swing.*; import java.awt.*; public class SmileyMain extends JApplet { SmileyClass smileyFace = new SmileyClass(); public void init(){ setSize(400,400); /*Prompt the user to change the color of eyes, the size of nose, or the angle of mouth here*/ /*Use JOptionPane */ } public void paint(Graphics canvas) { smileyFace.draw(canvas); } }