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);