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