I come from Android programming (with Android Studio), and I couldn't avoid asking myself: is there a "strings.xml
" equivalent in JavaFX? If not, how to implement it?
I'm using JavaFX (on Intellij IDEA) and I'm designing my application windows on some .fxml
files (with SceneBuilder). On some of them there will be showed big blocks of text.
<Text lineSpacing = "2.0"
strokeType = "OUTSIDE"
strokeWidth = "0.0"
text = "VERY LONG TEXT THAT WILL COMPROMISE FXML FILE READABILITY"
wrappingWidth = "220.0" />
In the example above I would like to write something like text = "@string/mymessage"
instead of the long text.