Searched refs:rounded (Results 1 - 2 of 2) sorted by relevance
/openjdk10/jdk/test/javax/swing/border/ |
H A D | Test4252164.java | 27 * @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 D | BorderFactory.java | 84 * @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