protected JTableExtender initializeTable(Object obj) {
        boolean multiple = false;
        if(this.getEnvironment().myObjects!=null) multiple = true;
		TableModel model = InputTableModel.getModel((Automaton)getObject(), multiple);
		JTableExtender table = new JTableExtender(model, this);
		table.setShowGrid(true);
		table.setGridColor(Color.lightGray);
        if(multiple){
            ArrayList autos  = this.getEnvironment().myObjects;
            ArrayList strings = this.getEnvironment().myTestStrings;
            ArrayList outs = this.getEnvironment().myTransducerStrings;
            int offset = strings.size();
            int tapeNum = 1;
            if(autos.get(0) instanceof TuringMachine){
            	tapeNum = ((TuringMachine)autos.get(0)).tapes;
            	offset = offset/tapeNum;
            }     
            int row = 0;
            for(int m = 0; m < autos.size(); m++){      
                for(int k = 0; k < strings.size(); k++){
                    row = k/tapeNum+offset*m;
                    model.setValueAt(((Automaton)autos.get(m)).getFileName(), row, 0);  
                    model.setValueAt((String)strings.get(k), row, k%tapeNum+1);
                }
                
            }
        }
		return table;
	}