Vector  getSameEvents(TimeLineObject t) {
		Event e=t.getLastEvent();
		if (e!=null) {
			Vector sameEvents=new Vector();
			boolean selectByTarget=false;
			String selectValue=e.oscMsgName;
			if ("/none".equals(selectValue) || "".equals(selectValue) || "/".equals(selectValue)) {
				selectByTarget=true;
				if (e.target!=null) {
					selectValue=e.target.id;
				} else {selectValue=null;}
			}
			if (selectValue==null) {return new Vector();}

			for (int i=0;i<t.timeLine.size();i++) {
				Event timeLineEvent=(Event)timeLineObject.timeLine.get(i);
				String cmpStr=timeLineEvent.oscMsgName;
				if (selectByTarget) {cmpStr=(timeLineEvent.target!=null)?timeLineEvent.target.id:"";}
				if (cmpStr.equals(selectValue)) {
					sameEvents.add(timeLineEvent);
				}
			}
			return sameEvents;
		} 
		return new Vector();
  	}