Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using color in a pane

 
cardwell cupp
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Thanks
Cardwell
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With HTML.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic