FileDocCategorySizeDatePackage
Testarray.javaAPI DocExample1200Fri Mar 08 11:55:42 GMT 2002myprojects.testarray

Testarray

public class Testarray extends Frame

Fields Summary
private double[]
diver
Constructors Summary
public Testarray()

	
	  
		addWindowListener(new WindowAdapter() {
			public void windowClosing(WindowEvent e) {
				dispose();
				System.exit(0);
			}
		});
		for(int iframe=0; iframe < 40; iframe++) {
			for(int irow=0; irow < 20; irow++) {
				for(int icol = 0; icol<3; icol++) {
					diver[iframe][irow][icol]=(double)iframe*irow*icol;
				}
			}
		}
		
		double r = diver[1][1][2] * diver[2][2][1];
		System.out.println(r);
		
		
	
Methods Summary
public static voidmain(java.lang.String[] args)

		System.out.println("Starting Testarray...");
		Testarray mainFrame = new Testarray();
		mainFrame.setSize(400, 400);
		mainFrame.setTitle("Testarray");
		mainFrame.setVisible(true);