Chapter 15 Examples
-
- Text Pane
- TextPaneExample.java
demonstrates the techniques used to create,
populate and display a JTextPane.
-
- Text Actions
- TextActions.java
creates a window with a text pane. A menu is
provided with all of the Actions for the text
pane.
-
- Editor Pane w/Plain Text
- PlainExample.java
creates a window with an editor pane, set to
display plain text. You can use the command line
to specify a file to display. The bug in the
early access version of JFC 1.1, was fixed so
this example no longer uses a custom editor kit.
-
- HTML Editor Pane
- HTMLExample.java
creates a window with an editor pane, set to
display HTML text. You can use the command line
to specify a URL to display. The bug in the early
access version of JFC 1.1, was fixed so this
example no longer uses a custom editor kit.
|