How to set a border around a Label?? [message #447847] |
Sun, 19 December 2004 00:48 |
Eclipse User |
|
|
|
Originally posted by: shaffin.email.uophx.edu
This is a multi-part message in MIME format.
------=_NextPart_000_009C_01C4E53A.9B6E7DB0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello,
I am new to SWT programming and was wondering how to set a border around =
Widgets such as the Label widget???
Label title =3D new Label( shell, SWT.FLAT | SWT.BORDER );
Is this correct???
Shaffin Bhanji.
------=_NextPart_000_009C_01C4E53A.9B6E7DB0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2180" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hello,</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>I am new to SWT programming and was wondering how to =
set a=20
border around Widgets such as the Label widget???</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Label title =3D new Label( shell, SWT.FLAT | =
SWT.BORDER=20
);</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Is this correct???</FONT></DIV>
<DIV><FONT size=3D2><BR>Shaffin Bhanji.</FONT></DIV></BODY></HTML>
------=_NextPart_000_009C_01C4E53A.9B6E7DB0--
|
|
|
|
Powered by
FUDForum. Page generated in 0.04262 seconds