The layout manager defined in Segment 972 ignores the dimension
instances returned by the minimumLayoutSize
and
preferredLayoutSize
methods called on the components. Alter the
definition such that the layout manager assigns a width to the list
component that is the smaller of the currently computed width and the width
provided by the dimension instance returned by a call to
preferredLayoutSize
with the list component as its target.