Font Style in draw2D label [message #55767] |
Fri, 17 January 2003 21:46 |
Eclipse User |
|
|
|
Originally posted by: oro7d3.netscape.net
How can I change teh font style (e.g. underline, bold the text) of a draw2D
label? I look at the javadoc, I can't find methods like setFont().
Thanks.
|
|
|
Re: Font Style in draw2D label [message #55793 is a reply to message #55767] |
Fri, 17 January 2003 21:54 |
Eclipse User |
|
|
|
Originally posted by: noone.ibm.com
The draw2D label does have a setFont method, it is inherited from Figure.
It takes an SWT Font for an argument, check out the Font class in
org.eclipse.swt.graphics.
"oro" <oro7d3@netscape.net> wrote in message
news:b09sk8$lvd$1@rogue.oti.com...
> How can I change teh font style (e.g. underline, bold the text) of a
draw2D
> label? I look at the javadoc, I can't find methods like setFont().
>
> Thanks.
>
>
|
|
|
Re: Font Style in draw2D label [message #56566 is a reply to message #55793] |
Mon, 20 January 2003 16:36 |
Eclipse User |
|
|
|
Originally posted by: oro7d3.netscape.net
Thanks. Can SWT Font have Underline style? I look it up, it only supports
Bold, Italic
Thanks
"Dan Lee" <noone@ibm.com> wrote in message
news:b09t21$maq$1@rogue.oti.com...
> The draw2D label does have a setFont method, it is inherited from Figure.
> It takes an SWT Font for an argument, check out the Font class in
> org.eclipse.swt.graphics.
> "oro" <oro7d3@netscape.net> wrote in message
> news:b09sk8$lvd$1@rogue.oti.com...
> > How can I change teh font style (e.g. underline, bold the text) of a
> draw2D
> > label? I look at the javadoc, I can't find methods like setFont().
> >
> > Thanks.
> >
> >
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02442 seconds