aspose file tools*
The moose likes Beginning Java and the fly likes JTextComponent: Making certain text within the component as Bold Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JTextComponent: Making certain text within the component as Bold" Watch "JTextComponent: Making certain text within the component as Bold" New topic
Author

JTextComponent: Making certain text within the component as Bold

Shyam Prasad Murarka
Ranch Hand

Joined: May 02, 2005
Posts: 209
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.


With Best Regards,
Shyam Prasad Murarka
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Moving to the Swing forum for expert attention.
[ April 11, 2006: Message edited by: marc weber ]

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JTextComponent: Making certain text within the component as Bold
 
Similar Threads
Saving a file
Getting text from swiing components
Simple text printing with pagebreaks
how can i set the XOR mode of a JTextComponent
JTextComponent: Making certain text within the component as Bold