import javax.swing.JApplet; import java.awt.Graphics; import java.awt.Graphics2D; /** * Class Driver - write a description of the class here * * @author John Paxton * @version 1.0 */ public class Driver extends JApplet { /** * Paint method for applet. * * @param g the Graphics object for this applet */ public void paint(Graphics g) { Graphics2D g2 = (Graphics2D) g; DenmarkFlag flag = new DenmarkFlag(); flag.paint(g2, this.getWidth(), this.getHeight() ); } }