Skip to content

Commit

Permalink
Adjusted coding quality issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tehkokhoe committed Feb 26, 2022
1 parent 79edc3b commit 32b47dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/duke/DukeDialogBox.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package duke;

import java.io.IOException;
import java.util.Collections;

import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXML;
Expand All @@ -11,9 +14,6 @@
import javafx.scene.image.ImageView;
import javafx.scene.layout.HBox;

import java.io.IOException;
import java.util.Collections;

public class DukeDialogBox extends HBox {
@FXML
private Label dialog;
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/duke/MainWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ 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"));

/**
* Initializes the GUI.
*/
@FXML
public void initialize() {
scrollPane.vvalueProperty().bind(dialogContainer.heightProperty());
Expand Down

0 comments on commit 32b47dc

Please sign in to comment.