ballWorlds.framework
Class Main

java.lang.Object
  extended by ballWorlds.framework.Main

public class Main
extends Object

A BallWorlds application is a Swing application that simulates "worlds" that contain instances of various kinds of "balls" (and possibly other objects).

The Main class contains the main method for the BallWorlds application and hence is the starting point for that application. It constructs the Worlds and the JFrame in which they will be displayed.

This exercise is based on an exercise from Lynn Andrea Stein's Rethinking CS101 project. See www.cs101.org.

Author:
David Mutchler, Salman Azhar, Curt Clifton and others, January 2005. Modified September 2008, September 2009.

Constructor Summary
Main()
           
 
Method Summary
static void main(String[] args)
          The BallWorlds application starts here in main.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

main

public static void main(String[] args)
The BallWorlds application starts here in main. It constructs the Worlds and the JFrame in which they will be displayed.

Parameters:
args - Array of command-line arguments, ignored here