Java Reference
In-Depth Information
if (min==29&&sec==59)
{
if (scene3d!=null)
scene3d.closeAll();
running = false;
}
try {
timerThread.sleep(1000);
} catch (Exception ie) {
System.out.println(“Interrupted Exception!”);
}
}
}
}
d.10 entry for maIn applet
// The following allows it to be run as an application as well as an applet
public static void main(String[] args)
{
new MainFrame(new Oscilloscope(), 1024, 600);
}
}
Search WWH ::




Custom Search