Commit 46c7cb6 1 parent 78b3ac4 commit 46c7cb6 Copy full SHA for 46c7cb6
File tree 4 files changed +16
-8
lines changed
4 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 45
45
}
46
46
47
47
application {
48
- mainClassName = " duke.Duke "
48
+ mainClassName = " duke.Launcher "
49
49
}
50
50
51
51
shadowJar {
Original file line number Diff line number Diff line change 2
2
T|1|hi
3
3
T|1|hi
4
4
T|0|hi
5
- T|0 |hi
5
+ T|1 |hi
6
6
T|0|me
Original file line number Diff line number Diff line change 4
4
<?import javafx .scene.control.Label?>
5
5
<?import javafx .scene.image.ImageView?>
6
6
<?import javafx .scene.layout.HBox?>
7
+ <?import javafx .scene.text.Font?>
7
8
8
- <fx : root alignment =" CENTER_RIGHT" maxHeight =" 1.7976931348623157E308" maxWidth =" 1.7976931348623157E308" prefWidth =" 400.0" type =" javafx.scene.layout.HBox" xmlns =" http://javafx.com/javafx/16 " xmlns : fx =" http://javafx.com/fxml/1" >
9
+ <fx : root alignment =" CENTER_RIGHT" maxHeight =" 1.7976931348623157E308" maxWidth =" 1.7976931348623157E308" prefWidth =" 400.0" type =" javafx.scene.layout.HBox" xmlns =" http://javafx.com/javafx/11 " xmlns : fx =" http://javafx.com/fxml/1" >
9
10
<children >
10
- <Label fx : id =" dialog" maxWidth =" 1.7976931348623157E308" minHeight =" -Infinity" minWidth =" -Infinity" text =" Label" wrapText = " true " >
11
+ <Label fx : id =" dialog" maxWidth =" 1.7976931348623157E308" minHeight =" -Infinity" minWidth =" -Infinity" text =" Label" >
11
12
<padding >
12
13
<Insets bottom =" 10.0" left =" 10.0" right =" 10.0" top =" 10.0" />
13
14
</padding >
14
15
<HBox .margin>
15
16
<Insets />
16
- </HBox .margin></Label >
17
+ </HBox .margin>
18
+ <font >
19
+ <Font name =" Arial" size =" 11.0" />
20
+ </font ></Label >
17
21
<ImageView fx : id =" displayPicture" fitHeight =" 99.0" fitWidth =" 99.0" pickOnBounds =" true" preserveRatio =" true" />
18
22
</children >
19
23
<padding >
Original file line number Diff line number Diff line change 5
5
<?import javafx .scene.control.TextField?>
6
6
<?import javafx .scene.layout.AnchorPane?>
7
7
<?import javafx .scene.layout.VBox?>
8
+ <?import javafx .scene.text.Font?>
8
9
9
- <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 =" duke.MainWindow" >
10
+ <AnchorPane maxHeight =" -Infinity" maxWidth =" -Infinity" minHeight =" -Infinity" minWidth =" -Infinity" prefHeight =" 600.0" prefWidth =" 400.0" xmlns =" http://javafx.com/javafx/11 " xmlns : fx =" http://javafx.com/fxml/1" fx : controller =" duke.MainWindow" >
10
11
<children >
11
12
<TextField fx : id =" userInput" layoutY =" 558.0" onAction =" #handleUserInput" prefHeight =" 41.0" prefWidth =" 324.0" AnchorPane.bottomAnchor=" 1.0" />
12
- <Button fx : id =" sendButton" layoutX =" 324.0" layoutY =" 558.0" mnemonicParsing =" false" onAction =" #handleUserInput" prefHeight =" 41.0" prefWidth =" 76.0" text =" Send" />
13
+ <Button fx : id =" sendButton" layoutX =" 324.0" layoutY =" 558.0" mnemonicParsing =" false" onAction =" #handleUserInput" prefHeight =" 41.0" prefWidth =" 76.0" text =" Send" >
14
+ <font >
15
+ <Font name =" Arial" size =" 11.0" />
16
+ </font ></Button >
13
17
<ScrollPane fx : id =" scrollPane" hbarPolicy =" NEVER" hvalue =" 1.0" prefHeight =" 557.0" prefWidth =" 400.0" vvalue =" 1.0" >
14
18
<content >
15
19
<VBox fx : id =" dialogContainer" prefHeight =" 552.0" prefWidth =" 388.0" />
16
20
</content >
17
21
</ScrollPane >
18
22
</children >
19
- </AnchorPane >
23
+ </AnchorPane >
You can’t perform that action at this time.
0 commit comments