void realizeChildren() { super.realizeChildren(); int xWindow = OS.XtWindow(handle); if (xWindow == 0) return; int xDisplay = OS.XtDisplay(handle); if (xDisplay == 0) return; if ((style & SWT.HORIZONTAL) != 0) { cursor = OS.XCreateFontCursor(xDisplay, OS.XC_sb_v_double_arrow); } else { cursor = OS.XCreateFontCursor(xDisplay, OS.XC_sb_h_double_arrow); } if (super.cursor == null && isEnabled()) { OS.XDefineCursor(xDisplay, xWindow, cursor); OS.XFlush(xDisplay); } }