public void paintComponent(Graphics g) {
		super.paintComponent(g);

		Graphics2D g2d = (Graphics2D) g.create();
		RoundRectangle2D rec = new RoundRectangle2D.Double(0, 0, getBounds()
				.getWidth(), getBounds().getHeight(), 10, 10);
		RoundRectangle2D rec2 = new RoundRectangle2D.Double(5, 5, getBounds()
				.getWidth() - 10, getBounds().getHeight() - 10, 10, 10);
		GradientPaint paint = new GradientPaint(0, 5, bg1, 60, 50, bg2, true);
		g2d.setPaint(paint);
		g2d.fill(rec);
		g2d.setColor(txt);
		g2d.draw(rec2);

		String[] texts = fmtText.split("//x//");
		int h = getMetrics().getHeight();

		for (int i = 0; i < texts.length; i++)
			g2d.drawString(texts[i], 10, 20 + h * i);
	}