Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 1 addition & 31 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,54 +45,24 @@
<artifactId>javafx-fxml</artifactId>
<version>${javafx.version}</version>
</dependency>


</dependencies>
<build>
<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<source>25</source>
<target>25</target>
<release>25</release>
</configuration>
</plugin>

<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>0.0.8</version>
<configuration>
<mainClass>com.example.HelloFX</mainClass>
<options>
<option>--enable-native-access=javafx.graphics</option>
<option>--enable-native-access=javafx.graphics</option>
</options>
<launcher>javafx</launcher>
<stripDebug>true</stripDebug>
<noHeaderFiles>true</noHeaderFiles>
<noManPages>true</noManPages>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.1.2</version>
<configuration>
<useModulePath>false</useModulePath>
<includes>
<include>**/*Test.java</include>
</includes>
</configuration>
</plugin>

</plugins>



</build>
</project>
42 changes: 0 additions & 42 deletions src/main/java/com/example/ChatController.java

This file was deleted.

120 changes: 0 additions & 120 deletions src/main/java/com/example/ChatModel.java

This file was deleted.

4 changes: 2 additions & 2 deletions src/main/java/com/example/HelloFX.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ public class HelloFX extends Application {

@Override
public void start(Stage stage) throws Exception {
FXMLLoader fxmlLoader = new FXMLLoader(HelloFX.class.getResource("chat-view.fxml"));
FXMLLoader fxmlLoader = new FXMLLoader(HelloFX.class.getResource("hello-view.fxml"));
Parent root = fxmlLoader.load();
Scene scene = new Scene(root, 640, 480);
stage.setTitle("Chat App");
stage.setTitle("Hello MVC");
stage.setScene(scene);
stage.show();
}
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module hellofx {
requires javafx.controls;
requires javafx.fxml;
requires java.net.http;


opens com.example to javafx.fxml;
exports com.example;
Expand Down
24 changes: 0 additions & 24 deletions src/main/resources/com/example/chat-view.fxml

This file was deleted.

75 changes: 0 additions & 75 deletions src/test/java/com/example/ChatModelTest.java

This file was deleted.