Searched refs:editorPane (Results 1 - 6 of 6) sorted by relevance

/openjdk7/jdk/test/javax/swing/text/View/8014863/
H A Dbug8014863.java43 private static JEditorPane editorPane; field in class:bug8014863
107 result[0] = editorPane.getCaretPosition();
116 editorPane.setCaretPosition(position);
132 editorPane = new JEditorPane();
134 editorPane.setEditorKit(editorKit);
135 editorPane.setText("<p>qqqq <em>pp</em> qqqq <em>pp</em> " +
138 editorPane.setCaretPosition(1);
141 int width = SwingUtilities.computeStringWidth(editorPane.getFontMetrics(editorPane.getFont()),
143 frame.add(editorPane);
[all...]
/openjdk7/jdk/test/javax/swing/text/html/HTMLEditorKit/5043626/
H A Dbug5043626.java102 JEditorPane editorPane = new JEditorPane();
103 editorPane.setContentType("text/html");
104 editorPane.setText("test");
105 editorPane.setEditable(true);
106 frame.add(editorPane);
109 doc = editorPane.getDocument();
110 editorPane.setCaretPosition(doc.getLength());
/openjdk7/jdk/test/javax/swing/text/CSSBorder/6796710/
H A Dbug6796710.java80 JEditorPane editorPane = new JEditorPane();
82 editorPane.setContentType("text/html");
83 editorPane.setText(TEXT);
84 editorPane.setEditable(false);
88 pnContent.add(new JScrollPane(editorPane), BorderLayout.CENTER);
/openjdk7/jdk/test/javax/swing/JEditorPane/6917744/
H A Dbug6917744.java41 private static JEditorPane editorPane; field in class:bug6917744
57 editorPane = new JEditorPane();
60 editorPane.setPage(bug6917744.class.getResource("/test.html"));
65 scrollPane = new JScrollPane(editorPane);
/openjdk7/jdk/test/javax/swing/JLayer/6824395/
H A Dbug6824395.java49 JEditorPane editorPane = new JEditorPane();
55 editorPane.setText(str);
57 JLayer<JEditorPane> editorPaneLayer = new JLayer<JEditorPane>(editorPane);
/openjdk7/jdk/test/javax/swing/text/html/parser/Parser/7165725/
H A Dbug7165725.java96 private JEditorPane editorPane; field in class:bug7165725
105 editorPane = new JEditorPane();
106 editorPane.setEditorKit(new HTMLEditorKit() {
114 editorPane.setPage(new URL(urlStr));
118 editorPane.setEditable(false);
121 vp.add(editorPane);
134 HTMLDocument doc = (HTMLDocument) editorPane.getDocument();

Completed in 72 milliseconds