An extension of
JTextArea
that adds the following features:
- Insert/Overwrite modes (can be toggled via the Insert key)
- A right-click popup menu with standard editing options
- Macro support
- "Mark all" functionality.
- A way to change the background to an image (gif/png/jpg)
- Highlight the current line (can be toggled)
- An easy way to print its text (implements Printable)
- Hard/soft (emulated with spaces) tabs
- Fixes a bug with setTabSize
- Other handy new methods
NOTE: If the background for an
RTextArea
is set to a color, its opaque property is set to
true
for performance reasons. If the background is set to an image, then the opaque property is set to
false
. This slows things down a little, but if it didn't happen then we would see garbage on-screen when the user scrolled through a document using the arrow keys (not the page-up/down keys though). You should never have to set the opaque property yourself; it is always done for you.
@author Robert Futrell
@version 1.0