posted 16 years ago
The JScrollPane will size to fit the table. If the table has only colors, ie, no text, then its preferredSize.height may be very small. The south section of the BorderLayout will show the scrollPane at its preferredSize, which, matching the child table, could be very small.
Possible solutions to investigate/explore:
set the row height for the table
set a preferredSize for the table
set a preferredSize for the scrollPane
set the preferredScrollableViewportSize for the table.