aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How do i apply font styles and sizes to a string ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How do i apply font styles and sizes to a string ?" Watch "How do i apply font styles and sizes to a string ?" New topic
Author

How do i apply font styles and sizes to a string ?

Rasmeet Devji
Greenhorn

Joined: Dec 08, 2000
Posts: 17
Hi people !
I wanted a bit of help from you guys......
I have developed a chat application and am trying to add some features into it.
Right now I'm trying to format the messages with different fonts and styles, which doesn't seem to work fine.
My idea was to set the font style and size of each individual message according to the user preferences.
Any idea how I could do this.......??
Thanks and regards,
Rasmeet
Sean MacLean
author
Ranch Hand

Joined: Nov 07, 2000
Posts: 621
Here's a basic demo from this site

Here's an advanced font tutorial for real custom stuff.
http://www.javaworld.com/javaworld/javatips/jw-javatip81.html
Hope this helps
Sean
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do i apply font styles and sizes to a string ?
 
Similar Threads
Label style not working in IE 8.0
Styling in Swing
A simple editor with rich text in Android
Font-weight of Browse button
Applying style to a variable