r/JavaFX • u/No-Security-7518 • Mar 27 '26
Help Cleanest way to reuse a CSS file(theme)
- I tried creating a separate project whose sole purpose is providing the css file, but Scenebuilder won't read it.
- (Naively) tried reusing a shortcut.
- Tried using an absolute path (Scenebuilder, again, cried about it).
I want to be able to change the CSS file in one place, and have the change appear everywhere, aka, simply reuse it.
2
Upvotes
View all comments
Show parent comment
2
u/No-Security-7518 Mar 27 '26
oh man, thank you! why didn't I think of this!? lol