composite.setLayout(new GridLayout());
new Button(composite, SWT.PUSH).setText("SWT.PUSH");
new Button(composite, SWT.RADIO).setText("SWT.RADIO");
new Button(composite, SWT.CHECK).setText("SWT.CHECK");
new Button(composite, SWT.TOGGLE).setText("SWT.TOGGLE");
ExpandItem item = new ExpandItem(expandBar1, SWT.NONE, 0);
item.setText(ControlExample.getResourceString("Item1_Text"));
item.setHeight(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT).y);
item.setControl(composite);
item.setImage(instance.images[ControlExample.ciClosedFolder]);
// Second item
composite = new Composite(expandBar1, SWT.NONE);
composite.setLayout(new GridLayout(2, false));
new Label(composite, SWT.NONE).setImage(display.getSystemImage(SWT.ICON_ERROR));
new Label(composite, SWT.NONE).setText("SWT.ICON_ERROR");
new Label(composite, SWT.NONE).setImage(display.getSystemImage(SWT.ICON_INFORMATION));
new Label(composite, SWT.NONE).setText("SWT.ICON_INFORMATION");
new Label(composite, SWT.NONE).setImage(display.getSystemImage(SWT.ICON_WARNING));
new Label(composite, SWT.NONE).setText("SWT.ICON_WARNING");
new Label(composite, SWT.NONE).setImage(display.getSystemImage(SWT.ICON_QUESTION));
new Label(composite, SWT.NONE).setText("SWT.ICON_QUESTION");
item = new ExpandItem(expandBar1, SWT.NONE, 1);
item.setText(ControlExample.getResourceString("Item2_Text"));
item.setHeight(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT).y);
item.setControl(composite);
item.setImage(instance.images[ControlExample.ciOpenFolder]);
item.setExpanded(true);
}