fix #2020: write stylesheet with default charset (#2024)

* fix #2020: write stylesheet with default charset

* Check JavaFX Version

* javadoc

* close #1051
close #1957
This commit is contained in:
Glavo
2023-02-02 21:29:24 +08:00
committed by GitHub
parent 6a05df2c35
commit 5d9d9b9cc4
2 changed files with 37 additions and 2 deletions

View File

@@ -65,6 +65,7 @@ public final class Launcher extends Application {
CookieHandler.setDefault(COOKIE_MANAGER);
LOG.info("JavaFX Version: " + System.getProperty("javafx.runtime.version"));
try {
Object pipeline = Class.forName("com.sun.prism.GraphicsPipeline").getMethod("getPipeline").invoke(null);
LOG.info("Prism pipeline: " + (pipeline == null ? "null" : pipeline.getClass().getName()));