public void paintComponent(Graphics gParam){
		//Recast g to a 2D graphics object to access additional functionality
		Graphics2D g = (Graphics2D)gParam;
		//Font font = new Font("Arial", Font.PLAIN, 10);
		//g.setFont(font);
		//Turn on antialiasing
		g.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                RenderingHints.VALUE_ANTIALIAS_ON);
		
		super.paintComponent(g);
		
		int barWidth=100, barHeight = 10;
		int xPos=5, yPos=10;
		for(int i=0; i<bars.size(); i++){
			HistBar temp = bars.get(i);
			g.drawString(temp.getName(), xPos, yPos);
			yPos+=1;
			g.setColor(Color.lightGray);
			g.fillRect(xPos, yPos, barWidth, barHeight);
			g.setColor(temp.getColor());
			g.fillRect(xPos, yPos, (int)(barWidth*temp.getPercent()), barHeight);
			yPos+=barHeight+12;
			g.setColor(Color.black);
		}
		//this.setPreferredSize(new Dimension(barWidth,yPos));
	}