I am somewhat new to programming and I'm building this small game of words. It uses local saved files, like this (correct urls to be defined yet):
//declaring the URL class
URL vEasyUrl = new File("C:\\Users\\lukas\\Desktop\\hardWords.html").toURI().toURL();
URL easyUrl = new File("C:\\Users\\lukas\\Desktop\\hardWords.html").toURI().toURL();
URL medUrl = new File("C:\\Users\\lukas\\Desktop\\hardWords.html").toURI().toURL();
URL hardUrl = new File("C:\\Users\\lukas\\Desktop\\hardWords.html").toURI().toURL();
URL vHardUrl = new File("C:\\Users\\lukas\\Desktop\\hardWords.html").toURI().toURL();
URL crazyUrl = new File("C:\\Users\\lukas\\Desktop\\hardWords.html").toURI().toURL();
I'm afraid that when I share the game application it doesn't share the files as well, since it is saved on my machine. Is there a way to do this?