Replacing INTViewer's Help
As you build your own application on top of INTViewer's platform, you might need to replace the help to match your user interface. Here are the steps to do this.
Create a new NetBeans Platform Application
Create a new NetBeans Platform Application
- Select File -> New Project
- Select NetBeans Modules and then NetBeans Platform Application
- Click Next
- Enter a Project Name and a Project Location
- Click Finish
Open the Project Properties
Open the Project Properties
- Right-click on the project name in the Projects window
- Select Properties
- Select the Libraries node in the Categories section
- Open the intviewer node in the Platform Modules section
Select the modules you want to include
Select the modules you want to include
- In this example, we choose all modules of INTViewer at once by clicking the checkbox next to the intviewer node
- To resolve the warning at the bottom of the window, select Auto Update Services and AutoUpdateUI in the platform node
- Click OK
Run your project
Run your project
The Help->Help Contents menu item leads to INTViewer's default help.
- Close your instance of INTViewer
Open the Project Properties Again
Open the Project Properties Again
- Right-click on the project name in the Projects window
- Select Properties
- Select the Libraries node in the Categories section
- Open the intviewer node in the Platform Modules section
- Uncheck the IntviewerHelp checkbox
- Click OK
Do a clean and build
Do a clean and build
Run your project again
Run your project again
The Help->Help Contents menu item leads to an empty help.
- Close your instance of INTViewer
Add a new module
Add a new module
- Right-click on the Modules node and select Add New
- Enter a Project Name
- Click Next
- Enter a Code Name Base
- Click Next
Add a HelpSet
Add a HelpSet
- Right-click on the MyHelp node and select New->Other ...
Select Module Development then JavaHelp Help Set
Do a clean and build again
Do a clean and build again
Run your project one more time
Run your project one more time
The help has been replaced with your own.