add initial files

added files from own repo, updated readme
This commit is contained in:
wompmacho
2020-11-03 14:59:03 -05:00
parent 4c929b3515
commit 93adc494c2
5 changed files with 299 additions and 2 deletions

27
Main.java Normal file
View File

@@ -0,0 +1,27 @@
package fractalTreeDraw;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class Main extends Application {
@Override
public void start(Stage stage) throws Exception {
Parent root = FXMLLoader.load(getClass().getResource("scene.fxml"));
root.getStylesheets().add(getClass().getResource("style.css").toExternalForm());
stage.setTitle("Fractal Tree Viewer");
stage.setScene(new Scene(root));
stage.show();
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
launch(args);
}
}