rendered paste body//the factory: /* (...) */ public Table table(int minHeight,int style) { DBTable res=new DBTable(curParentElement,SWT.SINGLE|SWT.FULL_SELECTION|style); res.setLinesVisible(true); res.setHeaderVisible(true); initComposite(res); curParentElement=res; curElement=res; if (minHeight>0) setMinimalHeight(minHeight); return res; } public Table checkTable(){ return table(0, SWT.CHECK | SWT.V_SCROLL); }/* (...) *///the screen class:/* (...) */table = factory.checkTable();factory.verticalFill();table.setHeaderVisible(false);table.setLinesVisible(true);table.getHorizontalBar().setEnabled(true);table.getHorizontalBar().setVisible(true);/* (...) */