Whilst electric netting is probably great, I think at least over here, the high cost would make it prohibitive for pigs. Most of ours are kept in by 2 strands of blue tape. The weaners have a sheep fencing boundary with electric fencing on the inside. Most of our pigs are kept in by this. We of course have the one exception but she wrote the book on keeping pigs so knows all the rules and how best to break them.
Sometimes its a case of what works really well for me will be the opposite for someone else. Its a bit of trial and error depending on your land, size, pigs attitudes etc.
Still its all good fun. Welcome to the world of the pig owner.