





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
My self made helping mannual notes on JEditor
Typology: Lecture notes
1 / 9
This page cannot be seen from the preview
Don't miss anything!






4. CLASS HIERARCHY: Constructor Description
**5. CONSTRUCTORS:
the URL being displayed). String getUIClassID()^ Gets^ the^ class^ ID^ for the UI.
the given URL, which is about to be loaded by the setPage method. static void registerEditorKitForContentType(String^ typ
Establishes the default bindings of type to classname. void replaceSelection(String^ content)^ Replaces the currently selected content with new content represented by the given string. Dimension getPreferredSize()^ Returns the preferred size for the JEditorPane. String getContentType()^ Gets^ the^ type^ of content that this editor is currently set to deal with. void read(InputStream^ in,^ Object^ desc)^ This method initializes from a stream. Modifier and Type Field Description
**7. Fields:
9. Examples: Example1:Write a program which can handle “Hyper links” click events. (HTML JEDITOR) Program
Output
Example2:Write a program which can generate simple text editor panel and opens the text editor with input text from user using JEditor Pane. (Simple JEDITOR Text Editor) Program