Skip to content

Commit

Permalink
Show Java version and runtime name in About Dialog (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnayabed authored and Oliver-Loeffler committed Dec 22, 2021
1 parent 1500188 commit 2015844
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<main.class.name>com.oracle.javafx.scenebuilder.app.SceneBuilderApp</main.class.name>
<!-- For about.properties file -->
<buildDate>${maven.build.timestamp}</buildDate>
<javaVersion>${java.vm.version}, ${java.vendor}</javaVersion>
<javaVersion>${java.version}, ${java.runtime.name}</javaVersion>
<javafxVersion>${javafx.version}</javafxVersion>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ private StringBuilder getJavaFXParagraph() {

private StringBuilder getJavaParagraph() {
StringBuilder sb = new StringBuilder("Java\n"); //NOI18N
sb.append(System.getProperty("java.runtime.version")).append(", ") //NOI18N
.append(System.getProperty("java.vendor")) // NOI18N
sb.append(System.getProperty("java.version")).append(", ") //NOI18N
.append(System.getProperty("java.runtime.name")) // NOI18N
.append("\n\n");
return sb;
}
Expand Down

0 comments on commit 2015844

Please sign in to comment.