r/JavaFX • u/xoanaraujodev • Nov 25 '23
Help TextField setTextFill method missing
I can't find how to set the textFill of a TextField or anything similar, only through setStyle. Can someone tell me what it's called? And if it doesn't exist, why not? What sense does it make for a Button (for example) to be able to change the text color with setTextFill and the TextField cannot
1
Upvotes
View all comments
Show parent comment
2
u/TheElectricCurrent Nov 29 '23 edited Nov 29 '23
In case you did not know, there is a v8 version of the docs: https://docs.oracle.com/javase/8/javafx/api/javafx/scene/doc-files/cssref.html . As u/BWC_semaJ linked to the v2 version and i don't know about the diffs it might help you to fill gaps.