Sorry for the late reply, but it's finally working thanks to all of your help, so I believe you are worthy of a big thank you! =)
Type: Posts; User: Lora_91
Sorry for the late reply, but it's finally working thanks to all of your help, so I believe you are worthy of a big thank you! =)
Then how should I go about saving and storing information? Would it work if the .jar file is in a specific folder and the .txt files is in the same folder and use that folder as root?
Something...
No, I want it to refer to within the .jar file, same place the .txt can currently be found when it was extracted together with the rest of the project.
indaLogin.jar
Data
...
It confuses me as how to it can work so well in Eclipse but not outside of it, I have no idea how else to do it.
With:
public void saveAdminData() throws IOException
{
try...
Would this be more accurate?
URL fileName = MainFrame.class.getResource("/data/members/user_" + i + ".txt");
When used within Eclipse it wouldn't work unless I used "\\" between them for the...
Unfortunetely I seem to be unable to solve the problem after all, it's as I said similar but not exactly the same.
Error:
Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation....
It does not work, it's what I had from the beginning when I posted this thread. =/
Edit:
Odd, now it does work... both by opening it by console and double clicking it. I'm noticing some other...
Aye, I opened the file in winrar and it contains the folders:
images
indaSupport.png
etc
LoginSystem
(lots of class files)
META-INF
MANIFEST.MF
Aye, the LoginSystemSource is the source folder.
ProjectName
LoginSystemSource
images
indaSupport.png
The LoginSystemSource is the source folder which holds the...
LoginSystem (Main package)
LoginSystemSource (Source folder)
images (Image folder)
indaSupport.png
Would it then perhaps be...
I tried removing all of the '/' at the start of every filepath line but still got the same result, same error. =/
--- Update ---
Yes, the program works perfectly within Eclipse, but not at...
Hm, I suppose the end result I get in the way I'm using it is the same as the example you posted, as of currently all of the filepaths the images use is based on String array variables so that the...
Greetings!
I've been working quite a bit with a login system the past couple of months and I now have a version that I would like to try "for real" by extracting it as a runnable .jar or .exe...