version 1.1, 2003/12/05 11:46:39
|
version 1.2, 2004/01/15 12:38:19
|
Line 604 public class TableComponent extends JPan
|
Line 604 public class TableComponent extends JPan
|
Dimension dimEditor = editor.getPreferredSize(); |
Dimension dimEditor = editor.getPreferredSize(); |
if (dimEditor.width < 260) |
if (dimEditor.width < 260) |
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(); |
TableColumnModel model = table.getColumnModel(); |
int offset_x = 0, offset_y = 0; |
int offset_x = 0, offset_y = 0; |
for (int i = 0; i <= column; ++i) |
for (int i = 0; i <= column; ++i) |