When in tropical waters always swim in the stinger nets provided preferably wearing a stinger suit.
At Calypso Dive we provide stinger suits to all of our clients on reef trips. We rarely spot jellyfish far out on the reef anyway because the stingers come from river mouths (according to current government research) but it's always better to be safe than sorry.