public void paintButtonContent(Graphics2D g) { int w = getBounds().width; int h = getBounds().height; int x = getBounds().x; int y = getBounds().y; g.drawArc(x + 4, y + 4, w - 8, h - 8, 0, -270); final Polygon arrowHead = new Polygon(new int[]{x+(w/2)+3, x+(w/2), x+(w/2)}, new int[]{y+4, y+2, y+6}, 3); g.drawPolygon(arrowHead); } }
public void paintButtonContent(Graphics2D g) { int w = getBounds().width; int h = getBounds().height; int x = getBounds().x; int y = getBounds().y; g.drawArc(x + 4, y + 4, w - 8, h - 8, 0, -270); final Polygon arrowHead = new Polygon(new int[]{x+(w/2)+3, x+(w/2), x+(w/2)}, new int[]{y+4, y+2, y+6}, 3); g.drawPolygon(arrowHead); } }
public void paintButtonContent(Graphics2D g) { int w = getBounds().width; int h = getBounds().height; int x = getBounds().x; int y = getBounds().y; g.drawArc(x + 4, y + 4, w - 8, h - 8, 0, -270); final Polygon arrowHead = new Polygon(new int[]{x+(w/2)+3, x+(w/2), x+(w/2)}, new int[]{y+4, y+2, y+6}, 3); g.drawPolygon(arrowHead); } }
public void paintButtonContent(Graphics2D g) { int w = getBounds().width; int h = getBounds().height; int x = getBounds().x; int y = getBounds().y; g.drawArc(x + 4, y + 4, w - 8, h - 8, 0, -270); final Polygon arrowHead = new Polygon(new int[]{x+(w/2)+3, x+(w/2), x+(w/2)}, new int[]{y+4, y+2, y+6}, 3); g.drawPolygon(arrowHead); } }