APlusImage - /A+ComputerSciencewww.apluscompsci.com /Name...

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

View Full Document Right Arrow Icon
// A+ Computer Science  -  www.apluscompsci.com  //Name -  //Date -  //Lab  -  import java.awt.Graphics;  import java.awt.Color;  import java.awt.Font;  import java.util.Scanner;  import java.awt.Canvas;  import java.io.File;  public class APlusImage extends Canvas  private int[][] image;  private String fileName;  public APlusImage()  try{     //read from the file  //load the file information  //into the matrix  catch(Exception e)      setSize( 640, 480 );  setBackground(Color.WHITE);  setVisible(true);  public APlusImage(String name) 
Background image of page 1

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

View Full DocumentRight Arrow Icon
try{     //read from the file  //load the file information 
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

APlusImage - /A+ComputerSciencewww.apluscompsci.com /Name...

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

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