protected void paintRaisedBevel(Component c, Graphics g, int x, int y, int width, int height) {

		Color oldColor = g.getColor();
		int h = height;
		int w = width;

		g.translate(x, y);

		g.setColor(getHighlightOuterColor(c));
		if (hidenSide != BorderLayout.WEST)
			g.drawLine(0, 0, 0, h - 2);
		if (hidenSide != BorderLayout.NORTH)
			g.drawLine(1, 0, w - 2, 0);

		g.setColor(getHighlightInnerColor(c));
		if (hidenSide != BorderLayout.WEST)
			g.drawLine(1, 1, 1, h - 3);
		if (hidenSide != BorderLayout.NORTH)
			g.drawLine(2, 1, w - 3, 1);

		g.setColor(getShadowOuterColor(c));
		if (hidenSide != BorderLayout.SOUTH)
			g.drawLine(0, h - 1, w - 1, h - 1);
		if (hidenSide != BorderLayout.EAST)
			g.drawLine(w - 1, 0, w - 1, h - 2);

		g.setColor(getShadowInnerColor(c));
		if (hidenSide != BorderLayout.SOUTH)
			g.drawLine(1, h - 2, w - 2, h - 2);
		if (hidenSide != BorderLayout.EAST)
			g.drawLine(w - 2, 1, w - 2, h - 3);

		g.translate(-x, -y);
		g.setColor(oldColor);

	}