public void paintComponent(Graphics g) {
			FontMetrics metrics = getFontMetrics(getFont());
			int w = metrics.stringWidth(text);
			int start = (60 - w) / 2;
			Graphics2D g2d = (Graphics2D) g.create();
			g2d.setColor(Color.gray);
			g2d.fillRect(0, 0, 80, 20);
			RoundRectangle2D rec = new RoundRectangle2D.Double(0, 0, 60, 20,
					10, 10);
			GradientPaint paint = new GradientPaint(0, 5, Color.orange.darker(), 60, 50, Color.black, true);
			g2d.setPaint(paint);
			g2d.fill(rec);
			g2d.setColor(textColor);
			g2d.drawString(text, start, 15);
			g2d.dispose();
		}