You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a few tweaks for Java 9, most of which I have done.
There's only one problem I can find: com.sun.javafx.tk.FontMetrics has removed its computeStringWidth(String) method in favour of getCharWidth(char). It might be possible to do the same thing by simply summing the widths of the characters in the string.
This is relevant in GraphicsUtils.java.
The text was updated successfully, but these errors were encountered:
Note that all the display builder Java 9 changes are already in the phoebus version.
The basic problem is that you can't do this type of JavaFX code for both Java 8 and Java 9.
Sure - you can merge this (or not) at the time of your choice, probably once CS-Studio is fully moved across to Java 9 so there's no reason to keep this on Java 8.
There are a few tweaks for Java 9, most of which I have done.
There's only one problem I can find:
com.sun.javafx.tk.FontMetrics
has removed itscomputeStringWidth(String)
method in favour ofgetCharWidth(char)
. It might be possible to do the same thing by simply summing the widths of the characters in the string.This is relevant in
GraphicsUtils.java
.The text was updated successfully, but these errors were encountered: