private void doTreeChange() {
		if (dontTrigger) {
			return;
		}
		if ( (tree == null) || (tree.getSelectionPath() == null) || (!tree.isEnabled()) ) {
			parent.curChunk = null;
			if ((parent.getCurrentFile() == null) || (parent.getCurrentFile().getFile().length() == 0)) {
				parent.currentByte = -1;
			} else {
				parent.currentByte = 0;
			}
    	} else {
    		TreePath x = tree.getSelectionPath();
        	Object obj = ((DefaultMutableTreeNode)x.getLastPathComponent()).getUserObject();
        	if (!(obj instanceof Chunk)) {
        		parent.curChunk = null;
        		if ((parent.getCurrentFile() == null) || (parent.getCurrentFile().getFile().length() == 0)) {
    				parent.currentByte = -1;
    			} else {
    				parent.currentByte = 0;
    			}
        	} else {
	        	Chunk chunk = (Chunk)obj;
	        	parent.curChunk = chunk;
	        	parent.currentByte = chunk.getStartPosition();
        	}
    	}
		parent.doTreePanelChange();
	}