You create a custom plug-in by composing Java code into a custom plug-in file in NetBeans. When you create a custom plug-in, a file is automatically created for you with the first line already entered (package com.stc.eindex.user;).
In the Projects window, expand the master index project and then expand the master index application.
For each source file that defines a custom plug-in, do the following:
Build the custom plug-in files, as described under Building Master Index Custom Plug-ins (Repository).
Specify the name of the class the master index application should call for the custom plug-in in the appropriate configuration file.