import java.util.Random; public class IsingSimulation implements Runnable { // Simulation code lives here public double beta=0.0; // ugly - need to set L here as well as in applet private int L=8; public int spin[][] = new int[L][L] ; // contain current spin during update // needed by update to clip frame public int iglobal,jglobal; private Ising appletref; // Constructor for simulation object IsingSimulation(Ising ref){ int i,j; for(i=0;i