Click or drag to resize

SetupJVMWrapperGetJCGraphicContainer(IJavaObject, Boolean) Method

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

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
Syntax
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