URL myurl = this.getClass().getResource("/SummaryReport.rptdesign");
File file = new File(myurl.getFile());
System.out.println("Name=" + file.getAbsolutePath());
The above code seems to get the resource. But I guess I am going about creating a file connected to that resource wrong? Because I cannot subsequently open a FileReader connected to that file. . I am assuming this is because the File is not set up correctly. I'm pretty tired right now, but I followed this pretty far including searches on daniweb etc, and am not getting anywhere so I'd appreciate any help.