There is an issue I'm facing with Scene Builder where it keeps overwriting the JavaFX version to 15.0.1 whereas I am using version 11.0.2, so I get this warning when running:
WARNING: Loading FXML document with JavaFX API of version 15.0.1 by JavaFX runtime of version 11.0.2
I just edit the version number in the .fxml file:
<Pane maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="293.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/15.0.1" xmlns:fx="http://javafx.com/fxml/1">
But when I make any changes in Scene Builder, it puts it back to 15.0.1 and I get the warning.
How can I fix this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…