{ g.translate(x, y);  Color saved = g.getColor();  g.setColor(Color.BLACK);  g.fillPolygon(new Polygon(new int[] { 3, 9, 3 }, new int[] { 2, 6, 10 }, 3));  g.setColor(saved); g.translate(-x, -y); }
{ Color saved = g.getColor(); g.setColor(Color.BLACK); g.drawLine(3 + x, 5 + y, 3 + x, 9 + y); g.drawLine(4 + x, 5 + y, 4 + x, 9 + y); g.drawLine(5 + x, 7 + y, 9 + x, 3 + y); g.drawLine(5 + x, 8 + y, 9 + x, 4 + y); g.setColor(saved); }
	public void paintIcon(Component c, Graphics g, int x, int y)	{	  g.translate(x, y);	  Color saved = g.getColor();	  g.setColor(Color.BLACK);	  g.fillPolygon(new Polygon(new int[] { 3, 9, 3 },                                  new int[] { 2, 6, 10 },                                  3));	  g.setColor(saved);	  g.translate(-x, -y);	}