0

I needed a way to have words with different sized fonts in my JTextArea, but apparently only plane text is supported for it. I turned to JEditorPanes which apparently support html which allows different sized fonts, which is great.

Now, I need a way to traverse back into the lines of my JEditorPane and pick out certain lines which the user edits so I can process the content into my application. How do I process these lines? From what I can tell, there is no easy way to pick out certain lines from my JEditorPane, but I'm wondering if its possible.

Thanks!

1
Contributor
1
Reply
2
Views
7 Years
Discussion Span
Last Post by TheWhite
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.