Advertisement
Guest User

KochApp

a guest
Nov 20th, 2017
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.71 KB | None | 0 0
  1. /*
  2.  * Names: Christopher Watkins
  3.  *         
  4.  * Date: 11/20/2017
  5.  * Course Number: CSC-220
  6.  * Course Name: Data Structures
  7.  * Problem Number: Koch Snowflake
  8.  * Email: cmwatkins0001@student.stcc.edu
  9.  *         
  10.  */
  11. import javafx.application.Application;
  12. import javafx.scene.Scene;
  13. import javafx.stage.Stage;
  14.  
  15. public class KochSnowflakeApp extends Application {
  16.  
  17.     @Override
  18.     public void start(Stage primaryStage) throws Exception {
  19.  
  20.         primaryStage.setScene(new Scene(new KochSnowflakePane()));
  21.         primaryStage.setTitle("Koch Snowflake");
  22.         primaryStage.setResizable(false);
  23.         primaryStage.show();
  24.     }
  25.  
  26.     public static void main(String[] args) {
  27.         Application.launch(args);
  28.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement