wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Override JEditorpane components Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Override JEditorpane components" Watch "Override JEditorpane components" New topic
Author

Override JEditorpane components

Steve Wood
Ranch Hand

Joined: Jan 08, 2003
Posts: 137
Hi guys,

Is there a way to override the JTextField and JTextArea used by JEditorPane when rendering HTML forms?

I'd like to change the text area in particular because the one it uses doesn't have word wrap, etc. Ideally I'd like it to be another JEditorPane within the JEditorPane so everything they type is HTML.

Any help is greatly appreciated.

Cheers,

Steve
 
Don't get me started about those stupid light bulbs.
 
subject: Override JEditorpane components
 
Similar Threads
hyperlink in swing
create a html help menu
display web page
How to include HTML file in core java application
web browser project