|
-
Print styled text from a JTextPane
Hey everyone,
I am trying to print (send to a printer) styled text from a JTextPane, which
uses the DefaultStyledDocument
in its constructor. By styled text, I mean, text at different sizes, fonts,
colors, and types. I've been looking at
at all of the java.awt.print tutuorials, but all they do is explain how to
print a graphical component, or print
a graphic. This seems simple, but all I need to do is print the text inside
the JTextPane, and maintain the
text's styles. Thanks in advance,
Christian Calloway
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