Lines Matching refs:pane
329 * @param text the message of the editor pane in HTML format.
335 JEditorPane pane = new JEditorPane();
336 pane.setContentType("text/html");
337 pane.setFont(font);
340 pane.setText(applyFont(text, font));
342 pane.setEditable(false);
343 pane.setBorder(new EmptyBorder(0, 0, 0, 0));
344 pane.setOpaque(false);
345 pane.setFocusCycleRoot(false);
346 return pane;
351 * @param text the message of the editor pane in plain text format.
357 JEditorPane pane = new JEditorPane();
358 pane.setContentType("text/plain");
361 pane.setText(text);
363 pane.setFont(font);
364 pane.setEditable(false);
365 pane.setBorder(new EmptyBorder(0, 0, 0, 0));
366 pane.setOpaque(false);
367 pane.setFocusCycleRoot(false);
368 return pane;
412 * pane will not contain any border.
413 * @param comp the component contained in the scroll pane.
415 * pane will not contain any border.
432 * @param comp the component contained in the scroll pane.
792 * @param scroll the scroll pane containing the table.
1000 * Updates the preferred size of an editor pane.
1001 * @param pane the panel to be updated.
1008 public static void updatePreferredSize(JEditorPane pane, int nCols,
1019 pane.setPreferredSize(pane2.getPreferredSize());
1020 JFrame frame = getFrame(pane);