protocol shall be used fore embedding the native Window.
*/
protected Any getWrappedWindowHandle()
{
NamedValue window = new NamedValue(
"WINDOW", new Any(new Type(Long.class), new Long(getNativeWindow())));
NamedValue xembed = new NamedValue(
"XEMBED", new Any(new Type(Boolean.class), new Boolean(false)));
if (getNativeWindowSystemType() == SystemDependent.SYSTEM_XWINDOW )
{
String vendor = System.getProperty("java.vendor");
if (vendor.equals("Sun Microsystems Inc.")
&& Boolean.valueOf(System.getProperty("sun.awt.xembedserver")).booleanValue())
{
xembed = new NamedValue(
"XEMBED",
new Any(new Type(Boolean.class), new Boolean(true)));
}
}
return new Any(