- Joined
- Dec 10, 2014
- Messages
- 3,255
- Thread Author
- #1
Code:
String alphaCss = Environment.getScript().getClass().getResource("/com/alpha/api/framework/ui/theme/Alpha.css").toExternalForm();
System.out.println(alphaCss);scene.getStylesheets().addAll(Themes.getCurrentStylesheet(), alphaCss);
Works fine locally, throws a NPE on SDN.
css file is added as a resource, works fine locally.
Pls, I just want to make my UIs pretty
@Cloud @Arbiter