/** * PhotoLabTester2.java * * @author Dave Musicant * @author Jeff Ondich * @author Amy Csizmar Dalal * @version 1.1 4/15/05 * * This class provides another test of your PhotoLab class. * Modify it as you see fit. */ import java.io.*; import java.awt.*; public class PhotoLabTester2 { public static void main( String[] args ) throws IOException { PhotoLab photoLab = new PhotoLab(); EzImage dave = new EzImage("dave.jpg"); dave.show("Original", 0, 0); Color darkPurple = new Color(127, 0, 127); EzImage image1 = photoLab.replaceWall(dave,darkPurple); image1.show("Dave against a purple wall", 200, 0); EzImage background = new EzImage("background3.jpg"); EzImage image2 = photoLab.replaceWall(dave,background); image2.show("Dave on vacation", 400, 0); } }