Lines Matching refs:border
27 * @summary Tests that titled border do not paint inner titled border over its caption
34 import javax.swing.border.Border;
35 import javax.swing.border.EtchedBorder;
36 import javax.swing.border.TitledBorder;
41 Border border = new EtchedBorder();
42 border = new TitledBorder(border, "LEFT", TitledBorder.LEFT, TitledBorder.TOP);
43 border = new TitledBorder(border, "RIGHT", TitledBorder.RIGHT, TitledBorder.TOP);
46 panel.setBorder(border);