Searched refs:rounded (Results 1 - 2 of 2) sorted by relevance

/openjdk10/jdk/test/javax/swing/border/
H A DTest4252164.java27 * @summary Tests rounded LineBorder for components
42 private JLabel rounded; field in class:Test4252164
55 this.rounded = new JLabel("ROUNDED"); // NON-NLS: the label for rounded border
59 panel.add(this.rounded);
70 this.rounded.setBorder(new LineBorder(Color.RED, this.thickness, true));
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DBorderFactory.java84 * @param rounded whether or not border corners should be round
90 public static Border createLineBorder(Color color, int thickness, boolean rounded) { argument
91 return new LineBorder(color, thickness, rounded);
690 * A dash line is not rounded.
707 * A dash line is not rounded.
732 * @param rounded whether or not line ends should be round
740 public static Border createDashedBorder(Paint paint, float thickness, float length, float spacing, boolean rounded) { argument
741 boolean shared = !rounded && (paint == null) && (thickness == 1.0f) && (length == 1.0f) && (spacing == 1.0f);
754 int cap = rounded ? BasicStroke.CAP_ROUND : BasicStroke.CAP_SQUARE;
755 int join = rounded
[all...]

Completed in 39 milliseconds