#Need help JavaFX program seems to not compile, fxml file and classes are correct whats the problem?

1 messages · Page 1 of 1 (latest)

plain prismBOT
#

<@&987246527741304832> please have a look, thanks.

plain prismBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

dark hemlock
#

show the file tree

clever vortex
#

If it had compile errors, it wouldn't run. That's the beauty of having a compiler. A runtime exception thrown to the stack is not the same as a compiler error.

#

To me, it looks like you might have a problem with your XML document.

elfin steppe
clever vortex
#

They're synonymous with eachother.

elfin steppe
dark hemlock
elfin steppe
#

it is literally inside the applications package

dark hemlock
#

println(getClass().getResource("."))

#

what does this print ?

elfin steppe
#

where to put it in start method or main

#

wtf i deleted toggle group and it works..

#

it compiled when i deleted togglegroup from scenebuilder

dark hemlock
elfin steppe
#

i deleted it and it compiles now

dark hemlock
#

what is that ?

#

also you should use scenebuilder to add syle sheets, and avoid to do it manually