This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
VerticalFlowLayout support justify alignment. It allows to justify width of children. On the other hand there is no way how to specify to justify height of children. The best solution would be to introduce a constraint that is recognized by the VerticalFlowLayout and would represent y-weight of assigned child widget. Similarly for HorizontalFlowLayout.
The HorizontalFlowLayout and VerticalFlowLayout now recognizes Number-class constraints and split remaining space in parent widget to particular widgets based on the value of constraints. See test.layout.WeightLayoutFlowTest example.
Created attachment 43115 [details] Patch
Committed in the main trunk.