Click or drag to resize

SetupJVMWrapperGetJCGraphicContainer(IJavaObject, Boolean) Method

Use the method available in Management property

Requests to allocate a remote graphic container to host the Component in graphicObject

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.3.250913-47278498b8c67e733ecc289138cddb5aee2e4c7e
Syntax
[ObsoleteAttribute("Use the method available in Management property", 
	true)]
public IJCGraphicContainer GetJCGraphicContainer(
	IJavaObject graphicObject,
	bool isWPF
)

Parameters

graphicObject  IJavaObject
The object, in the form of IJavaObject, to be inserted in the grphical hierarchy
isWPF  Boolean
if the request come from a WPF host application, for WinForms host application

Return Value

IJCGraphicContainer
A IJCGraphicContainer reference to the newly allocated container

Implements

IJVMWrapperManagementGetJCGraphicContainer(IJavaObject, Boolean)
Remarks
This version supports a single JCGraphicContainer needing direct management of Windows Message Pump, other JCGraphicContainer must internally manages message pump, setting the property IsRemoteManaged to true.
See Also