Ok, please bear with me, as it is kind of late and I might not be able to explain this as well as I could :rolleyes:
Right, now I know basic Java (All self taught) Arrays, Variables, FileIO, little bit of Sockets, Swing, ect. But I am having trouble with something. Let's say I have two .jar files, one when run displays a Swing GUI with a TextBox, and Button, while the other contains a .txt file as a Resource (Is that the right word in Java? You know what I mean) And when run, displays a dialog box, which displays the content of the .txt file.
Eg. The text file says "Cats", when run the program will say "Cats".
So what I want to do, is have the first application, edit the .txt file inside the second. So If I put "Dogs" in the TextBox, and hit the button, it will change the .txt file of the Second .jar to "Dogs", and thus the second .jar will say "Dogs" when run. (Am I making any sense?)
So I did some Googling, and it said about unpacking the .jar file, editing the .txt using normal FileIO, then repacking it. How would I got about going this?
