AndrewRigg / Crossword

Crossword Generator made by Steven Court
0 stars 0 forks source link

Create a runnable jar file #74

Closed AndrewRigg closed 7 years ago

AndrewRigg commented 7 years ago

Try to create a runnable jar file (which should work on anyone's pc if they have java installed) and run it. Overcome difficulties loading images.

Right click on project folder ->Export->Runnable Jar...

AndrewRigg commented 7 years ago

YES! Solved.

Had to create a new ResourceLoader class which calls the default toolkit and the static class to get proper resource calls to filenames which can be used in jar.

Don't fully understand why this has to be done like this.