I’d like to be able to open pdf files in a NetBeans project like this for a help menu but I don’t see a way to add the pdf files to the project in a way that they will become part of the distribution. The application needs to be able to find the pdf files. I thought there might be an option to add the files to the project resources but this doesn’t seem to be an option.
Share
If you have a resource folder in your project then just copy it in there and then
clean and buildor right-click on the folder and create a package
folder called “documents”. Put your pdf in there and clean-and-build.