An example of SWTLabel is presented below:

Java Code:
Display display = new Display ();
Shell shell = new Shell (display);
shell.setLayout (new FillLayout ());
new Label (shell, SWT.SEPARATOR | SWT.HORIZONTAL);
new Label (shell, SWT.SEPARATOR | SWT.VERTICAL);
shell.setSize (200, 200);
shell.open ();
while (!shell.isDisposed ()) {
if (!display.readAndDispatch ()) display.sleep ();
}
display.dispose ();