Picture - importjava.awt.*; importjava.awt.font.*;...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
import java.awt.*;  import java.awt.font.*;  import java.awt.geom.*;  import java.text.*;  /**  * A class that represents a picture.  This class inherits from   * SimplePicture and allows the student to add functionality to  * the Picture class.    *   * Copyright Georgia Institute of Technology 2004-2005  * @author Barbara Ericson ericson@cc.gatech.edu  */  public class Picture extends SimplePicture    ///////////////////// constructors //////////////////////////////////      /**    * Constructor that takes no arguments     */   public Picture ()   {     /* not needed but use it to show students the implicit call to super()      * child constructors always call a parent constructor       */     super();     }      /**    * Constructor that takes a file name and creates the picture     * @param fileName the name of the file to create the picture from 
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/20/2009 for the course COMP SCI 026 taught by Professor Unknown during the Spring '07 term at UWO.

Page1 / 4

Picture - importjava.awt.*; importjava.awt.font.*;...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online