|
-
Feb 9th, 2006, 10:15 PM
#1
Thread Starter
Addicted Member
Rich TextBox
In Java, is there any component that is similar to Rich TextBox in VB? Because I want to display text in multiple format.
-
Feb 10th, 2006, 06:56 AM
#2
Re: Rich TextBox
There are the JEditorPane
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Feb 13th, 2006, 09:15 PM
#3
Thread Starter
Addicted Member
Re: Rich TextBox
Are there any example about using JEditorPane?
-
Feb 14th, 2006, 06:28 AM
#4
Re: Rich TextBox
You can save your formatted text as html and open it in JEditorPane.
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Feb 14th, 2006, 06:36 AM
#5
Re: Rich TextBox
I don't have very good info about this subject but you can use the JTextPane and create your own style....I found out that most of Java styles are used to handle HTML not normal text...If you want to use normal text, you should search for a free package
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Feb 14th, 2006, 08:57 PM
#6
Frenzied Member
Re: Rich TextBox
The JTextPane allows you to use bold, italic, blah,blah, etc. styles of text. I've used it before, but it was A LONG time ago. I think you have to create some kind of document object to use in it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|