Skip to content

maxarfvidssonnilsson/DAT026

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

For the Swing bouncing balls template (Swing is a graphical toolkit for Java)

To run you must keep the source files in the bouncing_balls directory.

There are two source code files, Animator.java and Model.java.

Animator sets up the window and handles the drawing. It does not need to be modified.

Model handles the movement of the balls. So this is where you write your own code to extend the model.

To compile and then run you need to be in the parent directory of bouncing_balls and write:

javac bouncing_balls/*.java
java bouncing_balls.Animator

Releases

No releases published

Packages

No packages published

Languages