--- FM2SQL/Attic/TableComponent.java 2003/12/05 11:46:39 1.1 +++ FM2SQL/Attic/TableComponent.java 2004/02/18 13:25:24 1.3 @@ -334,7 +334,7 @@ public class TableComponent extends JPan } public void sizeToFit(int windowWidth, int windowHeight) { - table.setAutoResizeMode(table.AUTO_RESIZE_LAST_COLUMN); + //table.setAutoResizeMode(table.AUTO_RESIZE_LAST_COLUMN); TableColumnModel model = table.getColumnModel(); Dimension d2 = getPreferredSize(); @@ -604,7 +604,7 @@ public class TableComponent extends JPan Dimension dimEditor = editor.getPreferredSize(); if (dimEditor.width < 260) dimEditor.width = 260; - window.setSize((dimEditor.width < 280) ? dimEditor.width + 20 : 280, (dimEditor.height > 50) ? 200 : 60); + window.setSize((dimEditor.width < 280) ? dimEditor.width + 20 : 280, (dimEditor.height > 50) ? 200 : 70); TableColumnModel model = table.getColumnModel(); int offset_x = 0, offset_y = 0; for (int i = 0; i <= column; ++i)