|| currentLevels[i] > previousMaxLevels[i].getValue()) { currentMaxLevels[i] = new MaxLevel(currentLevels[i]); } else { if (currentMaxLevels[i].getValue() > topRate) { topRate = currentMaxLevels[i].getValue(); int maxHitX = (int) (regionMaxLevels[0].getValue() * scaleFactor); if (maxHitX < 2) { maxHitX = 2; int maxMissX = (int) (regionMaxLevels[1].getValue() * scaleFactor); if (maxMissX < 2) { maxMissX = 2; int maxPutX = (int) (regionMaxLevels[2].getValue() * scaleFactor); if (maxPutX < 2) { maxPutX = 2; String maxHitText = String.valueOf(regionMaxLevels[0].getValue()); g2.setColor(VU_HIT_DRAW_COLOR); g2.drawString(maxHitText, VU_X_MARGIN_LEFT + VU_X_SPACING + maxWidth, 1 + adaptedY + VU_HIT_HEIGHT - getVerticalAlignment(VU_HIT_HEIGHT, statsFontMetrics)); String maxMissText = String.valueOf(regionMaxLevels[1].getValue()); g2.setColor(VU_MISS_DRAW_COLOR); g2.drawString(maxMissText, VU_X_MARGIN_LEFT + VU_X_SPACING + maxWidth, String maxPutText = String.valueOf(regionMaxLevels[2].getValue());
|| currentLevels[i] > previousMaxLevels[i].getValue()) { currentMaxLevels[i] = new MaxLevel(currentLevels[i]); } else { if (currentMaxLevels[i].getValue() > topRate) { topRate = currentMaxLevels[i].getValue(); int maxHitX = (int) (regionMaxLevels[0].getValue() * scaleFactor); if (maxHitX < 2) { maxHitX = 2; int maxMissX = (int) (regionMaxLevels[1].getValue() * scaleFactor); if (maxMissX < 2) { maxMissX = 2; int maxPutX = (int) (regionMaxLevels[2].getValue() * scaleFactor); if (maxPutX < 2) { maxPutX = 2; String maxHitText = String.valueOf(regionMaxLevels[0].getValue()); g2.setColor(VU_HIT_DRAW_COLOR); g2.drawString(maxHitText, VU_X_MARGIN_LEFT + VU_X_SPACING + maxWidth, 1 + adaptedY + VU_HIT_HEIGHT - getVerticalAlignment(VU_HIT_HEIGHT, statsFontMetrics)); String maxMissText = String.valueOf(regionMaxLevels[1].getValue()); g2.setColor(VU_MISS_DRAW_COLOR); g2.drawString(maxMissText, VU_X_MARGIN_LEFT + VU_X_SPACING + maxWidth, String maxPutText = String.valueOf(regionMaxLevels[2].getValue());
|| currentLevels[i] > previousMaxLevels[i].getValue()) { currentMaxLevels[i] = new MaxLevel(currentLevels[i]); } else { if (currentMaxLevels[i].getValue() > topRate) { topRate = currentMaxLevels[i].getValue(); int maxHitX = (int) (regionMaxLevels[0].getValue() * scaleFactor); if (maxHitX < 2) { maxHitX = 2; int maxMissX = (int) (regionMaxLevels[1].getValue() * scaleFactor); if (maxMissX < 2) { maxMissX = 2; int maxPutX = (int) (regionMaxLevels[2].getValue() * scaleFactor); if (maxPutX < 2) { maxPutX = 2; String maxHitText = String.valueOf(regionMaxLevels[0].getValue()); g2.setColor(VU_HIT_DRAW_COLOR); g2.drawString(maxHitText, VU_X_MARGIN_LEFT + VU_X_SPACING + maxWidth, 1 + adaptedY + VU_HIT_HEIGHT - getVerticalAlignment(VU_HIT_HEIGHT, statsFontMetrics)); String maxMissText = String.valueOf(regionMaxLevels[1].getValue()); g2.setColor(VU_MISS_DRAW_COLOR); g2.drawString(maxMissText, VU_X_MARGIN_LEFT + VU_X_SPACING + maxWidth, String maxPutText = String.valueOf(regionMaxLevels[2].getValue());