|
|
|
SWT
|
SWT
SWT allows to create Calendar by using the java.util.Calendar class. The class CLabel allows to write the day and the days of week.
View Rating |
|
|
SWT
|
Demonstrates TableTree
SWT provides the class TableTree to display the hierarchy of items in a tabular form. In the given example, we have defined three columns for the table tree. The method getTable() of class TableTree returns the underlying table control.
View Rating |
|
|
SWT
|
Create a Sash Form
In SWT, the class SashForm lays out a Row or Column arrangement (as specified by the orientation) and places a Sash between them. In the given example, two sash forms are created.
View Rating |
|
|
SWT
|
Create a Sash in SWT
In SWT, the class Sash represent a selectable user interface object that allows the user to drag the outline. We have create the Sash first, so that the controls can be attached to it.
View Rating |
|
|
SWT
|
SWT File Browser
In SWT, the class FileDialog allow the user to navigate the file system and select a file name. In order to layout the text, we have used the method text.setLayoutData(data).
View Rating |
|
|