REmoved unneeded import of swing
Moved examples and code over from groovy-core