#gui project
1 messages · Page 1 of 1 (latest)
Can you build?
the errors, just some file related stuff
this is what im getting
Sorry, that site is toxic to my browser. so slow
So it looks like you are missing the src/main/resources folder, with all the gifs inside.
Needs to be in src/main/resources because Cardgamegui.java or whatever uses getResource (line 139)
Compiler will compile your code then copy whatever is in the /resources folder over to the build directory. It's accessible via various getResource commands.
Looks like it needs it all in the /cards directory to work. So make a src/main/resources directory and put the cards folder in it.
give that a shot.
like this?, this also didnt work
was the error different?
no it was the same
Shouldn't it be getClass().getClassLoader().getResource(file)
the code was givent o me so im not sure but ill try it
Did it ever work for them?
not sure yet