JTextPane and EditorKit



I'm a little confused about how to use an EditorKit along with a
JTextPane. Basically, I want to write my own EditorKit that I will
attach to a JTextPane. When any text is put into the JTextPane, the
EditorKit will be responsible for properly parsing/formatting the text
so it displays correctly in the JTextPane.

Is this the correct way of thinking (AKA, is that a purpose of the
EditorKit)? Any advice on where to begin (I haven't had much luck so
far).


Thanks
.



Relevant Pages

  • Re: JTextPane and EditorKit
    ... attach to a JTextPane. ... EditorKit will be responsible for properly parsing/formatting the text ... HTML document, ... home dot woh dot rr dot com slash jbmatthews ...
    (comp.lang.java.programmer)
  • Re: JTextPane and EditorKit
    ... attach to a JTextPane. ... EditorKit will be responsible for properly parsing/formatting the text ... home dot woh dot rr dot com slash jbmatthews ... Thanks, John for the suggestion. ...
    (comp.lang.java.programmer)