COM Wrappers Dialog Box

   

The COM Wrappers dialog box allows you to create Java source code wrappers in your project for accessing COM components.

A COM wrapper is Java source code that allows you to gain access to a specific COM component on your system. If you have a COM component (such as an ActiveX control) that you wish to use in your project, you can select the registered type library (in the case of a DCOM component) or COM component from the list and Visual J++ will create Java classes to access the COM component or type library.

With the COM Wrappers dialog box you can:

Options

Installed COM Components List

This is a list of all COM components registered on your system. You can select a COM component from the list by clicking the check box next to the name. When the OK button is selected, the environment will create a package, source files, and code for each of the COM classes and interfaces found in the component and adds them to your project. The code that is created allows you to access the COM component from within your Java project.

Browse

Displays a dialog that allows you to browse your computer system for a DLL, EXE, OCX, TLB or OLB file that you wish to access in Java. Use this feature only if the COM component you want to use is not currently registered on your system.

Component Information

Below the Installed COM Components list is a section that displays information for the currently highlighted COM component.

Location   The location of the selected COM component on the computer.

Language   Displays the name of the human language that the COM component is designed for.

Version   Displays the version number of the selected COM component.