WebNMS Developer Forums
Click on Join Now to Sign Up
There are two ways in which you can create/modify the About Dialog. Please see the details below.
Approach 1:
If you want to completely change the design of the dialog in addition to just modifying the image and the contact information. you have to create your own dialog implementing the "com.adventnet.nms.startclient.NmsFrame". And provide the class name as the "action_value" in the "<WEB NMS Home>/html/defaultsToAllUsers/framemenu.xml" for the menu item "About ...".
Approach 2:
If you would like to customize the existing dialog with a different image and contact information. You need to reate your own contact_address.html, i.e., create a new html file with the name as contact_address.html and create your own image adventnet_aboutDlg.jpg, i.e., create a new jpg file with the name and extension as adventnet_aboutDlg.jpg. Now create a separate jar file with these resources and set this jar file in the classpath before AdventNetAboutDialog.jar.
Note:
* AdventNetAboutDialog.jar should not be removed from the classpath. AdventNetAboutDialog.jar contains the default image and the contact address (contact_address.html) with the required " .class" resource to invoke the dialog. This default image will be shown if you are not customizing the about dialog.
* The same about dialog is used in the standalone tools also. Hence, the classpath change must be done in the following places also:
* startApplicationClient.bat
* BeanBuilder.bat
* CLIBrowser.bat
* MibBrowser.bat
* TL1Browser.bat
* If you want to invoke the above applications from the Launcher, you need to set the classpath in the WebNMSLauncher also. Start the NmsToolkit and select the particular application. Select the Options -> Settings menu. Then, add the jar containing the specified resources in the classpath.