installForeColor(data.foreground); OS.PenSize((short) fLineWidth, (short) fLineWidth); OS.FramePoly(poly); unfocus(true);  OS.KillPoly(poly);
if (poly != 0) OS.KillPoly(poly);
public void drawPolyline(int[] pointArray) {	if (handle == 0) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);	if (pointArray == null) SWT.error(SWT.ERROR_NULL_ARGUMENT);	/* AW	short[] xPoints = new short[pointArray.length];	for (int i = 0; i<pointArray.length;i++) {		xPoints[i] = (short) pointArray[i];	}	OS.XDrawLines(data.display,data.drawable,handle,xPoints,xPoints.length / 2, OS.CoordModeOrigin);	*/		if (pointArray.length < 4)		return;			focus(true);	int poly= OS.OpenPoly();	OS.MoveTo((short)pointArray[0], (short)pointArray[1]);	for (int i= 2; i < pointArray.length; i+= 2)		OS.LineTo((short)pointArray[i], (short)pointArray[i+1]);	OS.ClosePoly();		installForeColor(data.foreground);	OS.PenSize((short) fLineWidth, (short) fLineWidth);	OS.FramePoly(poly);	unfocus(true);		OS.KillPoly(poly);}