im not sure if the title is correct but currently i have :
private String destinationPDF = "D:/Documents/NetBeansProjects/printing~subversion/fileupload/web/resources/pdf/";
public static String destination ="D:/Documents/NetBeansProjects/printing~subversion/fileupload/Uploaded/";
public String fileList = "D:/Documents/NetBeansProjects/printing~subversion/fileupload/web/resources/Directory Files/directoryFiles.txt";
These are defined in the class, across 2 class actually, but this is not a perfect situation for me, i want to know is there a way to store the locations in a txt for example and access that ?
You need to use the java.util.Properties class.
See the documentation on the jdk documentation page.
Here is a sample usage:
And here the properties file: