|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimulation_BasicVersion.SimulationRunnable
public class SimulationRunnable
This app launches a basic particle animation. It uses the the event dispatching thread. This app is provided for teaching purposes.
Constructor Summary | |
---|---|
SimulationRunnable()
Creates a runnable simulation with the default frame rate of 1 frame per second. |
|
SimulationRunnable(int frameRate)
Creates a runnable simulation with the specified frame rate. |
Method Summary | |
---|---|
void |
run()
Causes this runnable to launch with the default frame rate of 1 frame per second. |
void |
run(int frameRate)
Causes this runnable to launch with the specified frame rate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimulationRunnable()
public SimulationRunnable(int frameRate)
frameRate
- Method Detail |
---|
public void run(int frameRate)
frameRate
- public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |