intellij idea - JavaFX with IntellJ: how to access a media file after export -
after building artifact, jar file locates here highlighted:
in source code:
media media = new media(new file( "res/alarm.wav").touri().tostring()); but when execute jar file, media file (alarm.wav) becomes unavailable.
how javafx application access media?

Comments
Post a Comment