Added swing sample