File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Using color in a pane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Using color in a pane" Watch "Using color in a pane" New topic

Using color in a pane

cardwell cupp
Ranch Hand

Joined: Aug 16, 2001
Posts: 66
Is it possible to show different colors of text int a JTextPane/JEditorPane with out using any richtext stuff.
If not, are there any suggestions on how to accomplish this feet?
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
With HTML.
I agree. Here's the link:
subject: Using color in a pane
Similar Threads
regarding tomcat
any open source technologies for converting a j2ee app to another language like spani
HTTP Status 404 Error - error while calling a servlet from a jsp
share a folder
java. lang.NoClassDefFoundError