// DrJava saved history v2 FileChooser.getMediaPath("d:\\intro-prog-java\\mediasources\\);//End of Interaction// FileChooser.setMediaPath("d:\\intro-prog-java\\mediasources\\);//End of Interaction// FileChooser.setMediaPath(d:\\intro-prog-java\\mediasources\\);//End of Interaction// FileChooser.setMediaPath("d:\\intro-prog-java\\mediasources\\");//End of Interaction// FileChooser.getMediaPath("7inX95in.jpg"));//End of Interaction// Picture(FileChooser.getMediaPath("7inX95in.jpg"));//End of Interaction// Picture p1 = new Picture(FileChooser.getMedia Path("7inX95in.jpg"));//End of Interaction// Picture p1 = new Picture(FileChooser.getMediaPath("7inX95in.jpg"));//End of Interaction// p1.show();//End of Interaction// p1.copy(butterfly2.jpg);//End of Interaction// p1.copy(butterfly1.jpg);//End of Interaction// p1.copy();//End of Interaction// p1 = new Picture(FileChooser.getMedia Path("butterfly2.jpg"));//End of Interaction// p1 = new Picture(FileChooser.getMediaPath("butterfly2.jpg"));//End of Interaction// p1.show();//End of Interaction// p1.copy();//End of Interaction// p1.repaint()://End of Interaction// p1.show();//End of Interaction// p1 = new Picture(FileChooser.getMedia Path("7inX95.jpg"));//End of Interaction// p2 = new Picture(FileChooser.getMedia Path("7inX95.jpg"));//End of Interaction// p2 = new Picture(FileChooser.getMediaPath("7inX95.jpg"));//End of Interaction// p1 = new Picture(FileChooser.getMediaPath("7inX95.jpg"));//End of Interaction// p1 = new Picture(FileChooser.getMediaPath("7inX95in.jpg"));//End of Interaction// p1.show();//End of Interaction// p1.copy();//End of Interaction// p1.copy();//End of Interaction// p1.show();//End of Interaction// p1.copy(Picture butterfly.jpgcture, int startX, int startY, int endX, int endY, int targetStartX, int targetStartY)//End of Interaction// p1 = new Picture(FileChooser.getMediaPath("butter"));//End of Interaction// p1 = new Picture(FileChooser.getMediaPath("7inX95in.jpg"));//End of Interaction// p1.show();//End of Interaction// p2 = new Picture(FileChooser.getMediaPath("butterfly2.jpg"));//End of Interaction// p2.show();//End of Interaction// p1.copy(p2, 0, 0, p2.getWidth(), p2.getHeight(), 100, 100);//End of Interaction// p1.repaint();//End of Interaction// p1.copy(p2, 0, 0, p2.getWidth(), p2.getHegith(), 0, 0);//End of Interaction// p1.copy(p2, 0, 0, p2.getWidth(), p2.getHeight(), 0, 0);//End of Interaction// p1.repaint();//End of Interaction// p1 = new Picture(FileChooser.getMediaPath("7inX95in.jpg"));//End of Interaction// p1.show()://End of Interaction// p1.show();//End of Interaction// p2 = new Picture(FileChooser.getMediaPath("butterfly2.jpg"));//End of Interaction// p1.copy(p2, 0, 0, p2.getWidth(), p2.getHeight(), 0, 0);//End of Interaction// p1.show();//End of Interaction// String file = FileChooser.getMeddiaPath("7inX95in.jpg");//End of Interaction// String file = FileChooser.getMediaPath("7inX95in.jpg");//End of Interaction// Picture p = newPicture(file);//End of Interaction// Picture p = new Picture(file);//End of Interaction// p.show();//End of Interaction// p.copy(butterfly2.jpg);//End of Interaction// p = new Picture(file);//End of Interaction// p.copy(butterfly2.jpg;//End of Interaction// p.copy(butterfly2.jpg);//End of Interaction// p.copyLeftRotation(butterfly2.jpg);//End of Interaction// p.copyLeftRotation(p);//End of Interaction// Picture sourcePicture = new Picture(FileChooser.getMediaPath("butterfly2.jpg");//End of Interaction// Picture sourcePicture = new Picture(FileChooser.getMediaPath("butterfly2.jpg"));//End of Interaction// p.copyLeftRotation(sourcePicture);//End of Interaction// p.show();//End of Interaction// String file = FileChooser.getMediaPath("7inX95in.jpg");//End of Interaction// Picture sourcePicture = new Picture(FileChooser.getMediaPath("butterfly2.jpg"));//End of Interaction// Picture p = newPicture(file);//End of Interaction// String file = FileChooser.getMediaPath("7inX95in.jpg");//End of Interaction// Picture p = new Picture(file);//End of Interaction// p.show();//End of Interaction// p.copyKatieRightRotation();//End of Interaction// p.copyrightRotation();//End of Interaction// p.repaint();//End of Interaction// String file = FileChooser.getMediaPath("7inX95in.jpg");//End of Interaction// Picture p = new Picture(buttefly2.jpg);//End of Interaction// Picture p = new Picture("buttefly2.jpg");//End of Interaction// p = new Picture("buttefly2.jpg");//End of Interaction// Picture p = new Picture("buttefly2.jpg");//End of Interaction// FileChooser.setMediaPath("d:\\intro-prog-java\\mediasources\\");//End of Interaction// String file = FileChooser.getMediaPath("7inX95in.jpg");//End of Interaction// file = FileChooser.getMediaPath("7inX95in.jpg");//End of Interaction// p.show();//End of Interaction// Picture p = new Picture(file);//End of Interaction// p = new Picture(file);//End of Interaction// p.show();//End of Interaction// p1 = new Picture("butterfly.jpg");//End of Interaction// String file = FileChooser.getMediaPath("7inX95in.jpg");//End of Interaction// Picture p = new Picture(file);//End of Interaction// p.show();//End of Interaction// p.copyFlowerSmaller()://End of Interaction// p.copyFlowerSmaller();//End of Interaction// p.repaint();//End of Interaction// Picture p1 = new Picture(320,240);//End of Interaction// p.copyFlowerSmaller();//End of Interaction// p1.show();//End of Interaction// p.show();//End of Interaction// String file = FileChooser.getMediaPath("7inX95in.jpg");//End of Interaction// FileChooser.getMediaPath("d:\\intro-prog-java\\mediasources\\);//End of Interaction// String file = FileChooser.getMediaPath("640x480.jpg");//End of Interaction// file = FileChooser.getMediaPath("640x480.jpg");//End of Interaction// Picture p1 = new Picture(file);//End of Interaction// p1.show();//End of Interaction// String file = FileChooser.getMediaPath("640x480.jpg");//End of Interaction// Picture p1 = new Picture(file);//End of Interaction// p1.show();//End of Interaction// p1.copyscaleUp();//End of Interaction// p1.repaint();//End of Interaction// String file = FileChooser.getMediaPath("640x480.jpg");//End of Interaction// Picture p1 = new Picture(file);//End of Interaction// p1.show();//End of Interaction// p.copyScaleUp();//End of Interaction// p1 = new Picture(file);//End of Interaction// p.copyScaleUp();//End of Interaction// p1 = new Picture(file);//End of Interaction// p1.copyScaleUp();//End of Interaction// p1.show();//End of Interaction// Picture p1 = new Picture(640,400);//End of Interaction// p1.createCollage();//End of Interaction// p1.show();//End of Interaction// p2 = new Picture(640, 400);//End of Interaction// p1.show();//End of Interaction// p1.paint();//End of Interaction// Picture p1 = new Picture(640,480);//End of Interaction// p1 = new Picture(640,480);//End of Interaction// p1.createCollage();//End of Interaction// p1.show();//End of Interaction// Picture p1 = new Picture(640,480);//End of Interaction// p1.createCollage();//End of Interaction// p1.show();//End of Interaction// Picture p1 = new Picture(640,480);//End of Interaction// p1.createCollage();//End of Interaction// p1.show();//End of Interaction// Picture p1 = new Picture(640,480);//End of Interaction// p1.createCollage();//End of Interaction// p1.show();//End of Interaction// p1 = new Picture(640,480);//End of Interaction// p1.createCollage2();//End of Interaction// p1.createCollage2();//End of Interaction// p1 = new Picture(1000,740);//End of Interaction// p1.createCollage2();//End of Interaction// p1.show();//End of Interaction// p1.show();//End of Interaction// Picture source1Picture = new Picture (FileChooser.getMediaPath("butterfly2.jpg"));//End of Interaction// source1Picture//End of Interaction// Picture source1Picture = new Picture (FileChooser.getMediaPath("eiffel.jpg"));//End of Interaction// Picture source1Picture = new Picture (FileChooser.getMediaPath("eiffel.jpg"));//End of Interaction// p1.show();//End of Interaction// ource1Picture = new Picture (FileChooser.getMediaPath("butterfly2.jpg"));//End of Interaction// source2Picture//End of Interaction// Picture source2Picture = new Picture (FileChooser.getMediaPath("eiffel.jpg"));//End of Interaction// source2Picture//End of Interaction// Picture source3Picture = new Picture (FileChooser.getMediaPath("waikiki.jpg"));//End of Interaction// source3Picture//End of Interaction// p1 = new Picture(1000,740);//End of Interaction// p1.createCollage2();//End of Interaction// p1.show();//End of Interaction// p1 = new Picture(1000,740);//End of Interaction// p1.createCollage2();//End of Interaction// p1.show();//End of Interaction// p1.write("collage1.jpg");//End of Interaction// p1 = new Picture(1000,740);//End of Interaction// p1.createCollage3();//End of Interaction// p1 = new Picture(1000,740);//End of Interaction// p1.createCollage3();//End of Interaction// p1.show();//End of Interaction// p1 = new Picture(640,480);//End of Interaction// p1.createCollage3();//End of Interaction// p1.createCollage3();//End of Interaction// Picture source1Picture = new Picture ("h:\\southbeach.jpg");//End of Interaction// source1Picture//End of Interaction// p1 = new Picture(520,820);//End of Interaction// p1.createCollage3();//End of Interaction// p1.show();//End of Interaction// p1 = new Picture(780,1260);//End of Interaction// p1 = new Picture(780,1230);//End of Interaction// p1.createCollage3();//End of Interaction// p1.show();//End of Interaction// p1 = new Picture(780,1230);//End of Interaction// p1.createCollage3();//End of Interaction// p1.show();//End of Interaction// p1 = new Picture(780,1000);//End of Interaction// p1.createCollage3();//End of Interaction// p1.show();//End of Interaction// p1 = new Picture(780,1000);//End of Interaction// p1.createCollage3();//End of Interaction// p1.show();//End of Interaction// p1 = new Picture(780,500);//End of Interaction// p1.createCollage3();//End of Interaction// p1 = new Picture(780,700);//End of Interaction// p1.createCollage3();//End of Interaction// p1.show();//End of Interaction//