private void undo() {
		//int index= timeLines.indexOf(timeLineObject);
		TimeLineSet undoSet = new TimeLineSet(this);
		undoSet.addAll(timeLineSelection);
		String resetList = undoSet.getList();
		if (undoIndex>-1) { 
			if (undoIndex==undoVec.size()-1) {
				String nm=getUndoFile(undoIndex+1);
				fileUtil.save(nm);
				undoVec.add(nm);
			}
			fileUtil.open( (String)undoVec.get(undoIndex), true, false );
			undoIndex--;
			//if (timeLines.size()>index) {timeLineObject=(TimeLineObject)timeLines.get(index);}
			if(!"".equals(resetList)) {
				timeLineSelection.clear();
				String[] list= resetList.split(",");
				for (int i=0;i<list.length;i++) {
					TimeLineObject tlo= getTimeline(list[i]);
					if (tlo!=null) timeLineSelection.add(tlo);
					
				}
				updateTimeLineDisplays();
			}
		} else {showMessage("No more undos");}
	}