Skip to content

Commit

Permalink
Modify code structure
Browse files Browse the repository at this point in the history
  • Loading branch information
lizekai-richard committed Sep 29, 2022
1 parent ab5bd54 commit 2affd99
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/main/java/cwq/Launcher.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package cwq;

import cwq.Ui.Main;
import javafx.application.Application;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cwq;
package cwq.Ui;

import java.io.IOException;
import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package cwq;
package cwq.Ui;

import java.io.IOException;

import cwq.CWQ;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cwq;
package cwq.Ui;

import cwq.CWQ;
import javafx.fxml.FXML;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/view/MainWindow.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.VBox?>

<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="400.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="cwq.MainWindow">
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="400.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="cwq.Ui.MainWindow">
<children>
<TextField fx:id="userInput" layoutY="558.0" onAction="#handleUserInput" prefHeight="41.0" prefWidth="324.0" AnchorPane.bottomAnchor="1.0" />
<Button fx:id="sendButton" layoutX="324.0" layoutY="558.0" mnemonicParsing="false" onAction="#handleUserInput" prefHeight="41.0" prefWidth="76.0" text="Send" />
Expand Down

0 comments on commit 2affd99

Please sign in to comment.