The JavaTM Tutorial
Previous Page Lesson Contents Next Page Start of Tutorial > Start of Trail > Start of Lesson Search
Feedback Form

Trail: Creating a GUI with JFC/Swing
Lesson: Using Swing Components

Concepts: About Editor Panes and Text Panes

Two Swing classes support styled text: JEditorPane(in the API reference documentation) and its subclass JTextPane(in the API reference documentation). Several facts about editor panes and text panes were sprinkled throughout the previous four sections. Here we list the facts again, to collect them in one place and to provide a bit more detail. The information here should help you understand the differences between editor panes and text panes, and when to use which. The next section provides API tables for all text components, including editor panes and text panes, and a list of examples that use text components.

Previous Page Lesson Contents Next Page Start of Tutorial > Start of Trail > Start of Lesson Search
Feedback Form