super(c, SWT.NO_FOCUS);
RowLayout rl = new RowLayout();
rl.wrap = false;
rl.pack = false;
this.setLayout(rl);
okBtn = new Button(this, SWT.BORDER | SWT.PUSH);
okBtn.setText("OK");
okBtn.setSize(30, 20);
cancelBtn = new Button(this, SWT.BORDER | SWT.PUSH);
cancelBtn.setText("Cancel");
cancelBtn.setSize(30, 20);
cancelBtn.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
System.out.println("Cancel was clicked");
}
});