I'm starting to build a JFrame application to work with File Handling. What I'm trying to get done from the application is that
- it reads the contents of all the texts files in a particular location and merges the contents & creates one single text file.
- The main property this application should have is that it should not have the navigate-to-location feature. Suppose if I paste this application in location C:\Users\Desktop\application.exe, the application must search the location for all the text files (i.e. on Desktop) & merge them into one single text file.
I've observed this in patch tools to patch softwares, they never ask for location for the software's_launcher.exe, they just tell us to paste the patch in the directory where the launcher belongs.
How do they do it? How can I do the same for my own application?