Download source archive ( or executable jar file (world1.jar).


import javafx.animation.Animation;
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
//import javafx.scene.Node;
import javafx.scene.layout.Pane;
//import javafx.scene.paint.Color;
//import java.util.*;

public class world1 extends Application
    @Override // Override the start method in the Application class
    public void start(Stage primaryStage) 
	// Create a pane 
	BounceArea pane = new BounceArea();

	// Create a scene and place it in the stage
	Scene scene = new Scene(pane, (int) pane.wd,(int);
	primaryStage.setTitle("Bounce Area"); // Set the stage title
	primaryStage.setScene(scene); // Place the scene in the stage; // Display the stage
    public static void main(String args[] )

Maintained by John Loomis, updated Fri Mar 02 22:58:43 2018