you could use the idea you proposed, or you might consider using a label. This is pretty much the goto of Java, so some people might not like it. There's a blurb on labels
here. Remember that the label comes before the outer loop, but will break you out of it.
[edit:] doggone you, andro... :p