- Joined
- Jun 21, 2014
- Messages
- 350
- Thread Author
- #1
I'm trying to load a JavaFX .fxml file in my bot but I can't determine what is the problem, it's either when trying to load the file in the manifest or when opening the file in a stream.
Here's some information:
Here's what the folder looks like in the IDE:
The location of the built files is D:\Work\Programming\Furor\build\classes\com\runemate\devination
This is how I load the main file in the manifest
This is how I'm trying to load the file in the manifest
This is how I try to load the file in the code, I've tried all sorts of combinations but no luck
I've tried so many combinations, but to no luck
Here's some information:
Here's what the folder looks like in the IDE:
The location of the built files is D:\Work\Programming\Furor\build\classes\com\runemate\devination
Code:
main-class>com.runemate.devination.Devination</main-class>
Code:
<resource>com/runemate/devination/DeviGUI.fxml</resource>
Code:
final Parent root = loader.load(Devination.class.getResourceAsStream("/Furor/src/com/runemate/devination/DeviGUI.fxml"));
I've tried so many combinations, but to no luck