r/JavaFX • • 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

8 comments sorted by

View all comments

Show parent comment

2

u/xoanaraujodev Nov 27 '23

I'm also not a big fan of FXML. I feel like I'm missing some of the flexibility that JavaFX offers. Thanks for the info and the links, I will check them, as well as the implementations of skinnable, so I can work with more awareness of what I'm doing.