既然研究了,就保存一下。
XlibWrapper.setProperty
XToolkit.getCorrectXIDString
XToolkit.getAWTAppClassName
XWindow.getWMClass():数组中第二个值。
XBaseWindow.setWMClass()
XAtom xa = XAtom.get(XAtom.XA_WM_CLASS); xa.setProperty8(getWindow(), cl[0] + '\0' + cl[1] + '\0');
XAtom.setProperty8(window, text);
XAtom.setAtomData();
XAtom.setAtomData8();
XlibWrapper.XChangeProperty(XToolkit.getDisplay(), window,
atom, atom, 32, XConstants.PropModeReplace,
data_ptr, length);
XlibWrapper.XChangePropertyImpl
XlibWrapper.Java_sun_awt_X11_XlibWrapper_XChangePropertyImpl
XlibWrapper.XChangeProperty