protected JScrollPane createLeftScrollPane() {
spreadSheet = new SpreadSheet();
spreadSheet.setName(project.getName());
spreadSheet.setSpreadSheetCategory(spreadsheetCategory); // for columns. Must do first
SpreadSheetFieldArray fields=getFields();
if (project.getFieldArray() != null) {
fields = project.getFieldArray();
}
spreadSheet.setCache(cache,fields,fields.getCellStyle(),fields.getActionList());
if (project.getFieldArray() != null)
spreadSheet.setFieldArrayWithWidths(fields);
((SpreadSheetModel)spreadSheet.getModel()).setFieldContext(fieldContext);
project.removeScheduleListener(this); // in case was already attached and recreating (applet)
project.addScheduleListener(this);