private static int initImage1(final Display display, Composite inComposite) {
		int heightHint = 0;
		final Composite original = new Composite(inComposite, SWT.BORDER);
		try {
			image1 = new Image(display, Resource.class.getResourceAsStream(image1Path));
		} catch (Exception e1) {
			throw new RuntimeException(e1);
		}
		
		// inUpComp.setBackground(Colors.blue);
		GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
		gridData.grabExcessHorizontalSpace = true;
		heightHint = image1.getImageData().height + 20;
		gridData.heightHint = heightHint;
		original.setLayoutData(gridData);
		
		histogram1 = ImageUtils.analyzeHistogram(image1.getImageData());

		
		original.addPaintListener(new PaintListener() {
			public void paintControl(PaintEvent e) {
				ImageUtils.paintImage(e.gc, image1, histogram1);
			}
		});
		return heightHint;
	}