-
how to get contents from jtextpane
the textpane may contain many images and multiple fonts and text in
different colors...
so how can i get the contents from this textpane...
how do i know that where the text in different color and where the images are embeded
becuze in normal textarea we can get the text by getText() method
becauze only text can be present in textarea...but the textpane can contain different kind of contents..so how can we get contents from
jtextpane and send content of jtextpane to mail
-
I've never used JTextPanes but this stuff looked helpfull
here's the official java class description page
and here's the java tutorial for JTextPanes
it looks to me like to get the attributes of the text you'll have to use
public AttributeSet getCharacterAttributes()
-
how to content from textpane??
how to get content(text, is formmated, color is changed, picture also added to textpane) from textpane, how those elements are send to mail. with out losing formatting.
Similar Threads
-
Replies: 5
Last Post: 05-27-2008, 11:17 AM
-
Replies: 1
Last Post: 10-20-2005, 10:33 AM
-
By lodey in forum VB Classic
Replies: 1
Last Post: 03-16-2005, 05:45 PM
-
By cliff williams in forum Web
Replies: 1
Last Post: 11-29-2001, 06:38 PM
-
By Keith Wedinger in forum .NET
Replies: 0
Last Post: 02-13-2001, 01:08 PM
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks