Click or drag to resize

IJVMWrapperManagementGetJCGraphicContainer(IJavaObject, Boolean) Method

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

Namespace: MASES.JCOBridge.C2JBridge.JVMInterop
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.13.240514-86ea0fe57add44a0d4dc719a1a99f3379a320f2e
Syntax
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
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