I don't know if somone has said this before, but you get caught cheating if the card you swapped is already on the table, or in someones hand. This means if you have 2 of the same cards, you will be caught cheating as well.
Also, you can indeed cheat in Blackjack, it's not difficult at all, just you have less time; so thinking quickly, and clicking fast is the key.