simulation_MVC_Basic
Class SimulationRunnable

java.lang.Object
  extended by simulation_MVC_Basic.SimulationRunnable
All Implemented Interfaces:
java.lang.Runnable

public class SimulationRunnable
extends java.lang.Object
implements java.lang.Runnable

This app launches a basic particle animation. It uses the the event dispatching thread. This app is provided for teaching purposes.

Author:
mb

Constructor Summary
SimulationRunnable()
          Creates a runnable simulation with the default frame rate of 24 frames per second.
 
Method Summary
 void run()
          Causes this runnable to launch, using an initial display size of half the screen's width and height.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimulationRunnable

public SimulationRunnable()
Creates a runnable simulation with the default frame rate of 24 frames per second.

Method Detail

run

public void run()
Causes this runnable to launch, using an initial display size of half the screen's width and height.

Specified by:
run in interface java.lang.Runnable