The COM Templates dialog box allows you to create Java class templates for registered type libraries and COM components on your system.
A COM template allows you to use Java source code to implement COM components that are described in type libraries and existing COM components. If you have a type library or existing COM component that you wish to implement using Java, you can select a registered type library or COM component from the list and Visual J++ will build the template code in your project. You can then implement each of the methods templates provided and compile to create a COM component.
With the COM Templates dialog box you can:
This is a list of all COM components and type libraries registered on your system. You can select a COM component or type library from the list by clicking the check box next to the name. When the OK button is selected, the environment creates a package, source files, and class templates for each of the classes found in the COM component or type library and adds them to your project.
Displays a dialog box that allows you to browse your computer for a DLL, EXE, TLB, OLB, or OCX file that you wish to create Java class templates for. Use this feature only if the COM component or type library you want to use is not currently registered on your system.
Below the Installed COM Components list is a section that displays information for the currently highlighted COM component or type library.
Location The location of the selected COM component or type library on the computer.
Language Displays the name of the human language that the COM component or type library is designed for.
Version Displays the version number of the selected COM component or type library.