• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTextComponent: Making certain text within the component as Bold

 
Shyam Prasad Murarka
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Readers,
I wanted to know if it is possible to bolden only certain text within any JTextComponent instances. I tried doing it in JTextField and JTextArea but unfortunately it emboldens the entire text.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Swing forum for expert attention.
[ April 11, 2006: Message edited by: marc weber ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic