Correct use of labels in loops
<p>Im looking for error in my app and it looks its here:</p>

<pre><code>for (int y=0; y&lt;MAP_HEIGHT; y+=10) {
    for (int x=0; x&lt;MAP_WIDTH; x+=10) {
        Label:

        for (GameResource res : resources) {
            //Checks if some object is already at given point
            if (res.getArea().contains(new Point2D.Float(x, y))) { 
                continue Label;
            }
        }

        if ((int)(Math.random()*200) == 0) {
            resources.add(new GameTree(x, y));
        }

        if ((int)(Math.random()*400) == 0) {
            resources.add(new GameMine(x, y));
        }
    }
}
</code></pre>

<p>It creates map. I checked, and it looks that even if some object is in given point, resources are placed despite it. Have I used label correctly? If point is used I want to go to next iteraton in x-for loop.</p>
