Skip to content
Snippets Groups Projects

Resolve "Display List /w thought constructor"

Merged Anders Langlie requested to merge 7-display-list-w-thought-constructor into master
Files
2
+ 5
2
@@ -22,11 +22,14 @@ public class Main extends Application {
primaryStage.setTitle("Hurl your thoughts");
Scene sceneMain = new Scene(root, 700, 498);
primaryStage.setScene(sceneMain);
//get access to the text field:
ScrollPane scrollyPlane = (ScrollPane) sceneMain.lookup("#scrollyboi");
Node content = scrollyPlane.getContent();
Text ta = (Text) content.lookup("#thoughtId");
ta.setText("javBruh");
ta.setText("testing");
ThoughtManager tm = new ThoughtManager();
tm.makeList();
Loading