jtb.setFloatable(false);
DrawingAttributes da = new DrawingAttributes();
da.setLinePaint(Color.blue);
da.setFillPaint(Color.blue);
da.setStroke(new BasicStroke(2));
DrawingAttributes da2 = new DrawingAttributes();
da2.setFillPaint(Color.lightGray);
da2.setLinePaint(Color.lightGray);
da2.setStroke(new BasicStroke(2));
int[] xpoints = new int[] { 15, 15, 50, 50, 90, 50, 50, 15 };
int[] ypoints = new int[] { 30, 70, 70, 90, 50, 10, 30, 30 };
Shape shape = new Polygon(xpoints, ypoints, xpoints.length);