public static void setWindowShape ( Window window , Shape s ) { if ( PlatformUtils . isJava6 ( ) ) { setWindowShapeJava6 ( window , s ) ; } else { setWindowShapeJava7 ( window , s ) ; } }
Sets the shape of a window . This will be done via a com . sun API and may be not available on all platforms .