By bloid
via explodingpixels.wordpress.com
Published: Oct 06 2008 / 04:30
Ahhh, the old table-doesn’t-fill-the-view problem. Nothing says “this is a Swing app” more than a JTable that only fills up part of it’s parent JViewport. Apparently this behavior was not the original behavior (as I had once thought), but was introduced, presumably as a bug, back in Java 1.2 (see this bug report). This behavior has been fixed in Java 6, though not by default - you have to call JTable.setFillsViewportHeight(true).
Add your comment
Voters For This Link (10)
-
bloid -
rogerjose81 -
kirillcool -
aalmiray -
mswatcher -
Thierry.Lefort -
mich.barsinai -
alruiz15 -
greenday -
javathreads