Java Swing Tutorials - Herong's Tutorial Examples - Version 4.20, by Dr. Herong Yang
JEditorPane - The Editor Pane Class
This chapter provides tutorial notes and example codes on the editor pane class. Topics include a simple text editor pane; saving text from the editor pane to a file; editing HTML content and Chinese characters in editor pane; using file chooser dialog boxes.
These sections are omitted from this Web preview version. To view the full content, see information on how to obtain the full version this book.
Creating a Simple Plain Text Editor Pane
Saving Text from an Editor Pane
Editing HTML in an Editor Pane
Editing Unicode Characters in an Editor Pane
javax.swing.JFileChooser - File Chooser Dialog Box
Sample programs listed in this chapter have been tested with JDK 1.3.1 to JDK 10.
Table of Contents