I wanna pack a font file inside a runnable jar. I’ve tryed to make resource loader class but it didn’t help. After exporting there are always different folders for classes and resources. I think that’s because I use package simple_clicker
on a classes (Window.java & simple_clicker.java). What should I do? Thanks!
My export settings
Final JAR file
I’ve tryed using class getFile
with the public static String getFile (String filename)
function, but result was the same: getFile.class just appears in the class folder.
I used this tutorial video.
Edit 1: My IDE is Eclipse
justfollowyourdreams is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.