Java Text EditorFunctionality
Hello,
I was wondering if I could get help in a matter I'm having difficulties in. Basically I have created a program that will display text depending on which index is selected. It all works fine, It saves and loads properly but there is one functionality I want to add to it and I don't know if it is possible or how it works.
From what I noticed, a JTextArea works same as a .txt document, you can change font as you please but it affects whole document. What I want to do is be able to bold one line, underline the next, make font size of third line bigger, and so on. Just like you can do in a word document.
I don't need it to be overly detailed but if i can get the bold, italic, underline, font size, font color and font type that would be more than I can hope for. So my question is, is there an object in java that supports this and if so how can I go about saving it?
Regards,
Re: Java Text EditorFunctionality
Re: Java Text EditorFunctionality
Moved from Advanced Java. Nothing remotely advanced about the question either.
db
Re: Java Text EditorFunctionality
The following was submitted by bagzli via the 'Report Post' feature:
Quote:
there no need to be jerk about moving a post, I clicked the wrong section by accident.
Any further frivolous reporting may lead to a temporary or permanent ban. No additional warning will be issued.
db