scrolledComposite = new ScrolledComposite(this, SWT.BORDER
| SWT.H_SCROLL | SWT.V_SCROLL);
scrolledComposite.setExpandHorizontal(true);
scrolledComposite.setExpandVertical(true);
GroupLayout groupLayout = new GroupLayout(this);
groupLayout.setHorizontalGroup(groupLayout.createParallelGroup(
GroupLayout.LEADING).add(
groupLayout
.createSequentialGroup()
.add(chanList, 150, 150, 150)
.addPreferredGap(LayoutStyle.RELATED)
.add(scrolledComposite, GroupLayout.DEFAULT_SIZE, 359,
Short.MAX_VALUE)));
groupLayout.setVerticalGroup(groupLayout
.createParallelGroup(GroupLayout.LEADING)
.add(chanList, GroupLayout.DEFAULT_SIZE, 300, Short.MAX_VALUE)
.add(scrolledComposite, GroupLayout.DEFAULT_SIZE, 300,
Short.MAX_VALUE));
setLayout(groupLayout);