byte[] bmpSrcData = ((DataBufferByte) bmpSrc.getData().getDataBuffer()).getData();
byte[] bmpMaskData = ((DataBufferByte) bmpMask.getData().getDataBuffer()).getData();
ArrayAccessor arrayAccess = AccessorFactory.getArrayAccessor();
long wnd = factory.getRootWindow();
LockedArray larr = arrayAccess.lockArrayShort(bmpSrcData);
long dataPtr = larr.getAddress();
long pixmap = x11.XCreateBitmapFromData(display, wnd,
dataPtr, width, height);
//System.out.println("source pixmap=" + pixmap);
larr.release();