Professional Documents
Culture Documents
J Editor Pane
J Editor Pane
J Editor Pane
Bhakti Sawant
5631
JEditorpane is a form of text area that can display different text formats.
JEditorPane is used for creating a simple text editor window.
Syntax:-public class JEditorPane extends JTextComponent
Its class has two methods:-
o setContentType()- Used to set the content type to be plain text.
o setText()- Used to set the initial text content.