scaledImage = getScaledImage((Image)i.next(), scale);
scaledImage = getScaledImage((Image)i.next());
    private void drawHex(Coords c) {        if (!game.getBoard().contains(c)) {            return;        }        final IHex hex = game.getBoard().getHex(c);        final Point hexLoc = getHexLocation(c);        int level = hex.getElevation();        int depth = hex.depth();        // offset drawing point                int drawX = hexLoc.x - boardRect.x;        int drawY = hexLoc.y - boardRect.y;        // draw picture        Image baseImage = tileManager.baseFor(hex);        Image scaledImage = getScaledImage(baseImage, scale);                boardGraph.drawImage(scaledImage, drawX, drawY, this);                if (tileManager.supersFor(hex) != null) {            for (Iterator i = tileManager.supersFor(hex).iterator(); i.hasNext();){                scaledImage = getScaledImage((Image)i.next(), scale);                boardGraph.drawImage(scaledImage, drawX, drawY, this);            }        }                boardGraph.setColor(GUIPreferences.getInstance().getMapTextColor());                // draw hex number        if (scale >= 0.5){            drawCenteredString(                    c.getBoardNum(),                    drawX,                    drawY + (int)(12*scale),                    font_hexnum,                    boardGraph);        }        // level | depth        if (level != 0 && depth == 0 && zoomIndex > 3) {            drawCenteredString(                    Messages.getString("BoardView1.LEVEL") + level, //$NON-NLS-1$                    drawX,                    drawY + (int)(70*scale),                    font_elev,                    boardGraph);        } else if (depth != 0 && level == 0  && zoomIndex > 3 ) {            drawCenteredString(                    Messages.getString("BoardView1.DEPTH") + depth, //$NON-NLS-1$                    drawX,                    drawY + (int)(70*scale),                    font_elev,                    boardGraph);        } else if (level != 0 && depth != 0  && zoomIndex > 3) {            drawCenteredString(                        Messages.getString("BoardView1.LEVEL") + level, //$NON-NLS-1$                    drawX,                    drawY + (int)(60*scale),                    font_elev,                    boardGraph);                drawCenteredString(                        Messages.getString("BoardView1.DEPTH") + depth, //$NON-NLS-1$                    drawX,                    drawY + (int)(70*scale),                    font_elev,                    boardGraph);        }                // draw elevation borders        boardGraph.setColor(Color.black);        if (drawElevationLine(c, 0)) {            boardGraph.drawLine(drawX + (int)(21*scale), drawY, drawX + (int)(62*scale), drawY);        }        if (drawElevationLine(c, 1)) {            boardGraph.drawLine(drawX + (int)(62*scale), drawY, drawX + (int)(83*scale), drawY + (int)(35*scale));        }        if (drawElevationLine(c, 2)) {            boardGraph.drawLine(drawX + (int)(83*scale), drawY + (int)(36*scale), drawX + (int)(62*scale), drawY + (int)(71*scale));        }        if (drawElevationLine(c, 3)) {            boardGraph.drawLine(drawX + (int)(62*scale), drawY + (int)(71*scale), drawX + (int)(21*scale), drawY + (int)(71*scale));        }        if (drawElevationLine(c, 4)) {            boardGraph.drawLine(drawX + (int)(21*scale), drawY + (int)(71*scale), drawX, drawY + (int)(36*scale));        }        if (drawElevationLine(c, 5)) {            boardGraph.drawLine(drawX, drawY + (int)(35*scale), drawX + (int)(21*scale), drawY);        }    }