public void updateDetails(DetailObject detailObject) {
		for (DetailPanel detailPanel : detailPanels) {
			if (detailPanel.getLanguage().equalsIgnoreCase(detailObject.getLanguage())) {
				detailPanel.setBlankLinesLabel(detailObject.getBlankLines());
				detailPanel.setLineOfCodeLabel(detailObject.getLineOfCode());
				detailPanel.setCommentsLabel(detailObject.getCommentLines());
				detailPanel.setNumberOfFilesLabel(detailObject.getNumberOfFiles());
				detailPanel.setTotalLinesLabel(detailObject.getBlankLines() + detailObject.getCommentLines() + detailObject.getLineOfCode());
				long codelines = detailObject.getBlankLines() + detailObject.getCommentLines() + detailObject.getLineOfCode();
				long totallines = DetailObject.getTOTAL_BLANK_LINES() + DetailObject.getTOTAL_COMMENT_LINES() + DetailObject.getTOTAL_LINES_OF_CODE();
				float percentage = (float) codelines / (float) totallines * 100.0f;
				detailPanel.setCodeShareLabel(percentage);
				break;
			}
		}
		detailPanels.get(0).setBlankLinesLabel(DetailObject.getTOTAL_BLANK_LINES());
		detailPanels.get(0).setLineOfCodeLabel(DetailObject.getTOTAL_LINES_OF_CODE());
		detailPanels.get(0).setCommentsLabel(DetailObject.getTOTAL_COMMENT_LINES());
		detailPanels.get(0).setNumberOfFilesLabel(DetailObject.getTOTAL_NUMBER_OF_FILES());
		detailPanels.get(0).setTotalLinesLabel(DetailObject.getTOTAL_BLANK_LINES() + DetailObject.getTOTAL_COMMENT_LINES() + DetailObject.getTOTAL_LINES_OF_CODE());
	}