Skip to content

Commit

Permalink
Update Welcome message
Browse files Browse the repository at this point in the history
  • Loading branch information
AshiqurRah committed Dec 18, 2022
1 parent 1d0fa97 commit 97f453e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/duke/MainWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,15 @@ public class MainWindow extends AnchorPane {

private Image userImage = new Image(this.getClass().getResourceAsStream("/images/DaUser.png"));
private Image dukeImage = new Image(this.getClass().getResourceAsStream("/images/DaDuke.png"));

private static final String EXIT_STRING = "Aww going so soon :(( \nHope to see you again soon!";
private static final String WELCOME_STRING = "Hello! I'm Darwin :)\nWhat can I do for you?";

@FXML
public void initialize() {
scrollPane.vvalueProperty().bind(dialogContainer.heightProperty());
dialogContainer.getChildren().addAll(
DialogBox.getDukeDialog(WELCOME_STRING, dukeImage));
}

public void setDuke(Duke d) {
Expand Down

0 comments on commit 97f453e

Please sign in to comment.