add swing example to the hub