39,41c39 < id h; < id g; < id i; - --- > 158,185d155 < < // Added: pldms < v=[[NSTableView alloc] initWithFrame: NSMakeRect(172, 17, 89, 60)]; < [v setAutoresizesAllColumnsToFit: YES]; < g=[[NSTableColumn alloc] initWithIdentifier: @"Column 1"]; < [g setResizable: YES]; < [[g headerCell] setStringValue: @"Column 1"]; < h=[[NSTableColumn alloc] initWithIdentifier: @"Column 2"]; < [h setResizable: YES]; < [[h headerCell] setStringValue: @"Column 2"]; < [v addTableColumn: g]; < [v setAutosaveTableColumns: YES]; < [v addTableColumn: h]; < //[contents addSubview: v]; < i = [[NSScrollView alloc] initWithFrame: NSMakeRect(172,17,89,60)]; < [i setDocumentView: v]; < [i setHasHorizontalScroller: YES]; < [i setHasVerticalScroller: YES]; < [i setBorderType: NSBezelBorder]; < [contents addSubview: i]; < [v sizeToFit]; < RELEASE(v); < RELEASE(g); < RELEASE(h); < RELEASE(i); < NSLog([NSString stringWithFormat:@"Number of columns: %i",[v < numberOfColumns]]); < 187c157 < @end - --- > @end \ No newline at end of file