• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTextArea Formatting

 
kiran raja
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,
Can u guys help me in formatting the text that appears in JTextArea.That is i wanted to add a different font style,color,size to each line that appears in the JTextArea.
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might be interested in a JTextPane with a StyledDocument.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!