|fun with fonts [message #460577]
||Wed, 31 August 2005 19:26
Originally posted by: gilbert.pilz.bea.com|
I am fairly new to SWT and I need some help with the following problem.
I'm trying to write a simple group-chat application and I want the name
of the person that "says" something to appear in bold while the thing
that they say appears in a normal font. For example:
gil: I thought this would be easier than it appears to be.
alice: I'm not sure.
In the above sentences "gil" and "alice" would appear in bold. Right now
I am using a simple Text widget to display the contents of the chat, but
it seems to me that all the text in the textbox has to be of the same
font. Does anyone have any suggestions?
Powered by FUDForum
. Page generated in 0.01837 seconds