Companion Products for IntelliJ® IDEA

IntelliJ IDEA Companions Frequently-asked Questions Info for Software Vendors

ComfyJ Features

The major Java-to-COM features of ComfyJ are:

  • Embedding any OLE/OCX/ActiveX controls into a Swing application. ComfyJ provides a special OleContainer class allowing you to:
    • Embed various OLE/OCX/ActiveX components.
    • Perform static drawing of an embedded component.
    • Save/Load an embedded OleObject to/from a file in a special binary format.
    • Create an embedded object using ProgID, CLSID, or from a file.
    • Do various kinds of in-place activation, such as SHOW, INPLACEACTIVE etc.
  • Support for VTBL method calling mechanism. You can invoke COM object methods using the function index.
  • Automation support enabling you to:
    • Invoke any method of a COM object using dynamic method invocation technique.
    • Get any property of a COM object, including indexed and named ones.
    • Set COM object properties.
  • Support for COM events. You can create a Java COM event handler and connect it to a COM object using a standard (findConnectionPoint/advise) COM technique.
  • Code Generation application. Using this application, you can generate Java COM wrappers for custom COM objects. Generated classes can be compiled and packed to a JAR file if necessary.
  • Wrappers for all standard COM interfaces, such as IUnknown, IDispatch, etc.
  • Support for standard COM types such as Variant, SafeArray (single and multi-dimensional arrays), BStr etc.
  • DCOM support. ComfyJ allows creating COM object on a remote server.

The major of COM-to-Java features of ComfyJ are:

  • Ability to create and register custom Java COM classes at run time.
  • Ability to create any custom COM classes and register them as COM servers in the system registry using a dedicated "Server Manager" application.
  • Server implementations of the IUnknown and IDispatch COM interfaces.

Comments? Write to

© 2000-2008 JetBrains. All rights reserved.