How to make frame in java
We are going to discus about frame in java. In this example We have make frame in java Swing. We have created JFrame class and JFrame is an extended of java.awt.Frame.
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.
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.
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.