简体   繁体   中英

How to add pdf files to NetBeans project?

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.

If you have a resource folder in your project then just copy it in there and then clean and build

or right-click on the folder and create a package folder called "documents". Put your pdf in there and clean-and-build.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM