Results 1 to 4 of 4
Thread: Java Text EditorFunctionality
- 04-23-2012, 02:41 PM #1
Member
- Join Date
- Feb 2011
- Posts
- 63
- Rep Power
- 0
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,
- 04-23-2012, 03:08 PM #2
Re: Java Text EditorFunctionality
Crossposted: JTextArea customization
How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
- 04-23-2012, 04:22 PM #3
Re: Java Text EditorFunctionality
Moved from Advanced Java. Nothing remotely advanced about the question either.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 04-24-2012, 01:23 PM #4
Re: Java Text EditorFunctionality
The following was submitted by bagzli via the 'Report Post' feature:
Any further frivolous reporting may lead to a temporary or permanent ban. No additional warning will be issued.there no need to be jerk about moving a post, I clicked the wrong section by accident.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
Similar Threads
-
Reading from a text file, then writing back to Text Area in Reverse
By medic642 in forum New To JavaReplies: 8Last Post: 07-17-2011, 02:38 PM -
Transforming xml to text keeps placing blank line at beginning of text file
By DerekRaimann in forum Advanced JavaReplies: 7Last Post: 03-05-2011, 09:25 AM -
Applet program to open a text file and display the content in text area
By bitse in forum Java AppletsReplies: 0Last Post: 12-09-2010, 05:56 PM -
How display text in listbox or text area right to left or center??
By sameer22 in forum CLDC and MIDPReplies: 0Last Post: 09-28-2010, 09:52 AM -
how to use live validation with autocomplete in dojo text boxes in <s:text box>
By subashm28 in forum Suggestions & FeedbackReplies: 2Last Post: 01-23-2009, 04:09 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks