I am doing a project in java and in that i need to add and modify my text file at runtime,which is grouped in the jar.
I am using class.getResourceAsStream(filename) thi
If i can't update the text file in jar what other solution is there?
Store the information in any of:
PersistenceService
to store the information. Here is my demo. of the PersistenceService.Also, if your users will agree to a trusted applet (which seems overkill for this), you might write the information to a sub-directory of user.home
.