static synchronized boolean isShapingSupported(){
  if (isShapingSupported == null) {
    XToolkit.awtLock();
    try {
      isShapingSupported=XlibWrapper.XShapeQueryExtension(XToolkit.getDisplay(),XlibWrapper.larg1,XlibWrapper.larg2);
    }
  finally {
      XToolkit.awtUnlock();
    }
  }
  return isShapingSupported.booleanValue();
}

static synchronized boolean isShapingSupported ( ) { if ( isShapingSupported == null ) { XToolkit . awtLock ( ) ; try { isShapingSupported = XlibWrapper . XShapeQueryExtension ( XToolkit . getDisplay ( ) , XlibWrapper . larg1 , XlibWrapper . larg2 ) ; } finally { XToolkit . awtUnlock ( ) ; } } return isShapingSupported . booleanValue ( ) ; }
returns whether the xshape extension available
