update projects.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
*/
|
||||
package edu.addressbook.view;
|
||||
|
||||
import edu.addressbook.api.HttpMessageService;
|
||||
import javafx.application.Application;
|
||||
import javafx.event.EventHandler;
|
||||
import javafx.scene.Scene;
|
||||
@@ -25,7 +26,6 @@ public class ApplicationView extends Application {
|
||||
}
|
||||
});
|
||||
webEngine.setJavaScriptEnabled(true);
|
||||
|
||||
primaryStage.setTitle("AddressBook View");
|
||||
try {
|
||||
String htmlUrl = getClass().getResource(page).toExternalForm();
|
||||
@@ -46,6 +46,7 @@ public class ApplicationView extends Application {
|
||||
}
|
||||
|
||||
public final static void main(String[] args) {
|
||||
new HttpMessageService().runServer();
|
||||
launch(args);
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
module edu.addressbook.view {
|
||||
requires java.desktop;
|
||||
requires transitive javafx.graphics;
|
||||
requires transitive javafx.web;
|
||||
requires transitive javafx.controls;
|
||||
|
||||
opens edu.addressbook;
|
||||
|
||||
opens javafx.web;
|
||||
opens javafx.controls;
|
||||
opens javafx.graphics;
|
||||
|
||||
exports edu.addressbook.view;
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user