Ok im using netbeans and everytime i try input a file or anything i have to put the whole file path...which means none of my programs will be universal. example:

File file = new File("mgmt.jpg");...