fTree.addMouseListener(new MouseListener() {
fTree.addMouseListener(new MouseAdapter() {
	private void addListeners() {		fTree.addSelectionListener(new SelectionListener() {			public void widgetSelected(SelectionEvent e) {				activate();			}			public void widgetDefaultSelected(SelectionEvent e) {				activate();			}		});				fTree.addDisposeListener(new DisposeListener() {			public void widgetDisposed(DisposeEvent e) {				disposeIcons();			}		});		fTree.addMouseListener(new MouseListener() {			public void mouseDoubleClick(MouseEvent e) {				handleDoubleClick(e);			}			public void mouseDown(MouseEvent e) {				fPressed= true;			}			public void mouseUp(MouseEvent e) {				fPressed= false;			}		});				fTree.addMouseMoveListener(new MouseMoveListener() {			public void mouseMove(MouseEvent e) {				if (!(e.getSource() instanceof Tree)) 					return;								TreeItem[] treeItem= {((Tree) e.getSource()).getItem(new Point(e.x, e.y))};				if (fPressed & (null != treeItem[0])) {					fTree.setSelection(treeItem);					activate();				}				// scroll				if ((e.y < 1) & fPressed) {					try {						TreeItem tItem= treeItem[0].getParentItem();						fTree.setSelection(new TreeItem[] { tItem });						activate();					} catch (Exception ex) {					}				}			}		});	}