Skip to content

Commit

Permalink
Added Ui.png in docs folder
Browse files Browse the repository at this point in the history
  • Loading branch information
limweijun committed Sep 13, 2022
1 parent 6246865 commit 7086720
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions data/duke.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
T|0|add
T|0|run
Binary file added docs/Ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/main/java/Duke/Ui.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void start(Stage stage) {
AnchorPane ap = fxmlLoader.load();
Scene scene = new Scene(ap);
stage.setScene(scene);

stage.setTitle("Duke");
dukey = new Duke("data/duke.txt", fxmlLoader);
fxmlLoader.<MainWindow>getController().setDuke(dukey);
stage.show();
Expand Down

0 comments on commit 7086720

Please sign in to comment.