Set the minimal size of a Component with BorderLayout
843806Dec 8 2007 — edited Dec 16 2007Hi,
I got a little problem using BorderLayout.
The scenario is :
A JPanel placed BorderLayout.WEST got a size a few pixel too small for a JTable contained in this panel to paint all names of the table header.
If i set the preferredScrollableViewportSize larger then a specific amount the table disappear(shrinks to a tiny size)
The panel uses GridBagLayout...
How can i set the size of this "west"-component of the border layout a little larger?
regards
Olek