Lines Matching refs:pane
1176 * @param ek HTMLEditor kit used for the new HTML pane
1184 JEditorPane pane = new JEditorPane();
1185 if (ek != null) pane.setEditorKit(ek);
1186 pane.setContentType("text/html");
1188 pane.setText(applyFontToHtmlWithDiv(s, font));
1189 pane.setEditable(false);
1190 pane.setBorder(new EmptyBorder(0, 0, 0, 0));
1191 return pane;
1206 JEditorPane pane = new JEditorPane("text/plain", s);
1207 setTextStyle(pane, style);
1208 pane.setEditable(false);
1209 pane.setBorder(new EmptyBorder(0, 0, 0, 0));
1210 pane.setOpaque(false);
1211 return pane;
1216 * pane will not contain any border.
1217 * @param comp the component contained in the scroll pane.
1219 * pane will not contain any border.
1735 * This class has been written to have a better behaviour with the scroll pane
1738 * With the default scroll pane behaviour when we set a new text in a
1743 * in the pane.
1762 * @param scroll the JScrollPane that will contain this editor pane.