Java Tutorial/SWT/ViewForm
Creating a ViewForm
- ViewForm creates three controls in a row across the top of a Composite, with a content area below the controls.
- The first control contains the image in the upper left and the text Outline.
- The second control contains the toolbar buttons to the right of the text Outline, up to, but not including, the close button in the upper right.
- The third control is the close button in the upper right.
- Everything else is the content area.
You create a ViewForm by calling its only constructor:
ViewForm(Composite parent, int style)