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.17.240622-f0da58d62b7e98f73f32432917df8eb1a5f062a3
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