JPanel buttons = createButtonPanel();
cPane.add(buttons, BorderLayout.SOUTH);
tabs = new JTabbedPane();
for (Iterator iter = reports.iterator(); iter.hasNext();) {
YKReport report = (YKReport) iter.next();
TableSorter sorter = new TableSorter(report);
JTable table = new JTable(sorter);
sorter.setTableHeader(table.getTableHeader());
table.setFont(yoshikoder.getDisplayFont());
TableUtil.packColumn(table, 0, 2);
YKDocument doc = (YKDocument)report.getDocuments().get(0);
JPanel cent = new JPanel(new BorderLayout());
cent.add( new JScrollPane(table), BorderLayout.CENTER );
cent.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
tabs.addTab(doc.getTitle(), cent);
}