private static void initDCT(Composite inComposite, int heightHint) {
		final Composite toolbar = new Composite(inComposite, SWT.BORDER);
		final Composite imageContainer = new Composite(inComposite, SWT.BORDER);
		GridData toolbarGridData = new GridData(GridData.FILL_HORIZONTAL);

		toolbarGridData.grabExcessHorizontalSpace = true;
		toolbar.setLayoutData(toolbarGridData);

		toolbar.setLayout(new GridLayout(2, false));
		
//		final Text st = new Text(toolbar, SWT.BORDER);
//		st.setText("0.5");
		final Combo combo = new Combo (toolbar, SWT.READ_ONLY);
		combo.setItems (new String [] {"1.0", "0.9", "0.8","0.7", "0.6","0.5", "0.4","0.3", "0.2", "0.1"});
		combo.setText("0.8");
		Button button = new Button(toolbar, SWT.PUSH);
		button.setText("DCT");
		button.setBounds(0, 0, 100, 30);
		button.setLayoutData(new GridData(SWT.LEFT, SWT.TOP, true, true, 1, 1));
		button.addListener(SWT.MouseDown, new Listener() {
			public void handleEvent(Event event) {
				double coefficient = 1;
				try {
					coefficient = Double.parseDouble(combo.getText());
				} catch (Exception e) {
					e.printStackTrace();
				}

				dct(coefficient);
				ImageUtils.paintImage(new GC(imageContainer), dct, dctHisto);
				
				ImageUtils.paintImage(new GC(diffContainer), diff, diffHisto);
			}

		});
		GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
		gridData.grabExcessHorizontalSpace = true;
		gridData.heightHint = heightHint;
		imageContainer.setLayoutData(gridData);
		imageContainer.addListener(SWT.Paint, new Listener() {
			public void handleEvent(Event event) {
				ImageUtils.paintImage(event.gc, dct, dctHisto);
			}
		});
	}