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.
How to reproduce: 1) Start test.justify.JustifyTest. 2) Drag a top-left corner of blue-bordered widget and move it to the bottom-right to make the widget smaller. 3) ERROR - the child widget as moved outside of top-left border - but it should always start from top-left corner of client area of the widget.
Fixed in main trunk. The FlowLayout did not calculate with widget.getBorder ().getInsets ()
FlowLayout.justify method has been reimplemented.