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).
Create Expand Bar in SWT
SWT provides an application of creating a Expand Bar using the classes ExpandBar and ExpandItem. The class ExpandBar provides the layout of selectable expand bar items.
In SWT, the class Browser of package org.eclipse.swt.browser allows to create a browser. In the given example, the class Browser implements the browser and allows the user to navigate through HTML documents.
Create Tabs in Java using SWT
This Tab Example in Java, will teach you how to create tabs using SWT in Java. After going through the example you will be able to create different tabs with different values on the same page. Just follow the given instruction.
Create ToolTip Text in SWT
The ToolTip is the element of graphical user interface used in the conjunction with a cursor pointer. In SWT, the method setToolTipText() of class TabItem sets the tooltip text.
Create Scroll Bar in Java using SWT
The given example will show you how to create scroll bar in Java using SWT, for that we have created a class with the name ScrollBarExamle that imports a package org.eclipse.swt.widgets, which is used to create ScrollBar in Java.