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.10.240120-2a3d9d79d92bde9fdf6d46131ee31d20c12fe372
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