J
Jason Cavett
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
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