final GeneralPath generalPath = new GeneralPath(GeneralPath.WIND_NON_ZERO, 20);
generalPath.append(configureArc(x, y, 2 * topLeftWidth, 2 * topLeftHeight, -225, -45, Arc2D.OPEN), true);
generalPath.lineTo((float) (x + w - topRightWidth), (float) y);//2
generalPath.append(configureArc(x + w - 2 * topRightWidth, y, 2 * topRightWidth, 2 * topRightHeight, 90, -45,
Arc2D.OPEN), true);
generalPath.transform(BorderRenderer.scaleInstance);
borderShapeTop = generalPath;
return generalPath;
}
public Shape getBorderBottomShape()