// DrJava saved history v2 String fileName = FileChoooser.pickAFile();//End of Interaction// String fileName = FileChooser.pickAFile();//End of Interaction// Picture pictureOBJ = new Picture(fileName);//End of Interaction// int width = pictureObj.getWidth();//End of Interaction// int width = pictureObj.getWidth();//End of Interaction// int width = pictureObj.getWidth();//End of Interaction// String fielName = FileChooser.pickAFile();//End of Interaction// Picture pictureObj = new Picture(fileName);//End of Interaction// String fileName = FileChooser.pickAFile();//End of Interaction// Picture pictureObj = new Picture(fileName);//End of Interaction// int width = pictureObj.getWidth();//End of Interaction// System.out.println("The picture width is " + width);//End of Interaction// int height = pictureObj.getHeight();//End of Interaction// System.out.println("The picture height is " + height);//End of Interaction// Pixel[] pixelArray = pictureObj.getPixels();//End of Interaction// System.out.println(pixelArray.length + "pixels");//End of Interaction// pictureObj.show();//End of Interaction// import java.awt.Color;//End of Interaction// Pixel pixelObj = pixelArray[0];//End of Interaction// int red = pixelObj.getRed();//End of Interaction// int x = pixelObj.getx();//End of Interaction// int x = pixelObj.getX();//End of Interaction// System.out.println(x);//End of Interaction// int x = pixelObj.getX();//End of Interaction// int y = pixelObj.gety();//End of Interaction// int y = pixelObj.gety();//End of Interaction// int green = pixelObj.getGreen();//End of Interaction// int x = pixelObj.getx();//End of Interaction// int x = pixelObj.getX();//End of Interaction// int x = pixelObj.getX();//End of Interaction// int x = pixelObj.getX(); //End of Interaction// int x = pixelObj.getX(); //End of Interaction// green//End of Interaction// x//End of Interaction// red//End of Interaction// int blue = pixelObj.getBlue();//End of Interaction// blue//End of Interaction// int y = pixelObj.getY();//End of Interaction// System.out.println(x);//End of Interaction// System.out.println(red);//End of Interaction// System.out.printlin(blue);//End of Interaction// System.out.println(blue);//End of Interaction// System.out.println(green);//End of Interaction// Color testColor = newColor(168,131,105);//End of Interaction// Color testColor = newColor(168,131,105);//End of Interaction// pixelObj.set.Color(colorObj);//End of Interaction// Color testColor = newColor(168,131,105);//End of Interaction// colorOjb.brighter()://End of Interaction// colorOjb.brighter();//End of Interaction// Color testColor = new Color(168,131,105);//End of Interaction// System.out.println(testColor);//End of Interaction// testColor=testColor.darker();//End of Interaction// System.out.println(testColor);//End of Interaction// testColor=testColor.brighter();//End of Interaction// System.out.println(testColor);//End of Interaction// String fileName = FileChooser.pickAFile(); //End of Interaction// > Picture pictureObj = new Picture(fileName); //End of Interaction// Picture pictureObj = new Picture(fileName); //End of Interaction// PictureObj.show();//End of Interaction// PictureObj.show();//End of Interaction// String fileName = FileChooser.pickAFile();//End of Interaction// Picture pictureObj = new Picture(fileName);//End of Interaction// pictureObj.show();//End of Interaction// import java.awt.Color;//End of Interaction// pictureObj.getPixel(10,100).setColor(Color.black);//End of Interaction// pictureObj.getPixel(11,100).setColor(Color.black);//End of Interaction// pictureObj.getPixel(12,100).setColor(Color.black);//End of Interaction// pictureObj.getPixel(13,100).setColor(Color.black);//End of Interaction// pictureObj.getPixel(14,100).setColor(Color.black);//End of Interaction// pictureObj.getPixel(15,100).setColor(Color.black);//End of Interaction// pictureObj.getPixel(16,100).setColor(Color.black);//End of Interaction// pictureObj.getPixel(17,100).setColor(Color.black);//End of Interaction// pictureObj.getPixel(18,100).setColor(Color.black);//End of Interaction// pictureObj.getPixel(19,100).setColor(Color.black);//End of Interaction// pictureObj.repaint();//End of Interaction// pictureObj.show();//End of Interaction// String fileName = FileChooser.pickAFile(); //End of Interaction// Picture pictureObj = new Picture(fileName); //End of Interaction// String fileName = FileChooser.pickAFile(); //End of Interaction// Picture pictureObj = newPicture(fileName);//End of Interaction// Picture pictureObj = new Picture(fileName);//End of Interaction// pictureObj.show();//End of Interaction// import java.awt.Color;//End of Interaction// pictureObj.getPixel(10,100).setColor(Color.black);//End of Interaction// pictureObj.getPixel(11,100).setColor(Color.black);//End of Interaction// pictureObj.getPixel(12,100).setColor(Color.black);//End of Interaction// pictureObj.getPixel(13,100).setColor(Color.black);//End of Interaction// pictureObj.getPixel(14,100).setColor(Color.black);//End of Interaction// pictureObj.getPixel(15,100).setColor(Color.black);//End of Interaction// pictureObj.getPixel(16,100).setColor(Color.black);//End of Interaction// pictureObj.getPixel(17,100).setColor(Color.black);//End of Interaction// pictureObj.getPixel(18,100).setColor(Color.black);//End of Interaction// pictureObj.getPixel(19,100).setColor(Color.black);//End of Interaction// pictureObj.repaint();//End of Interaction// String fileName = FileChooser.pickAFile();//End of Interaction// Picture pictureObj = new Picture(fileName);//End of Interaction// pictureObj.explore();//End of Interaction// pictureObj.decreaseRed();//End of Interaction// pictureObj.explore();//End of Interaction// String fileName = FileChooser.pickAFile();//End of Interaction// Picture pictureObj = new Picture(fileName);//End of Interaction// pictureObj.explore();//End of Interaction// pictureObj.decreaseRed();//End of Interaction// pictureObj.explore();//End of Interaction// String fileName = FileChooser.pickAFile();//End of Interaction// Picture pictureObj = new Picture(fileName);//End of Interaction// pictureObj.explore();//End of Interaction// pictureObj.decreaseRed();//End of Interaction// pictureObj.explore();//End of Interaction// String fileName = FileChooser.pickAFile();//End of Interaction// String fileName = FileChooser.pickAFile(1);//End of Interaction// String fileName = FileChooser.pickAFile2();//End of Interaction// fileName = FileChooser.pickAFile2();//End of Interaction// fileName = FileChooser.pickAFile();//End of Interaction// pictureObj = new Picture(fileName);//End of Interaction// pictureObj.explore();//End of Interaction// pictureObj.decreaseRed();//End of Interaction// pictureObj.explore();//End of Interaction//