File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Override JEditorpane components" Watch "Override JEditorpane components" New topic

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.


I agree. Here's the link:
subject: Override JEditorpane components
It's not a secret anymore!