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.

Bug 105400

Summary: FlowLayout does not work correctly with negative location of child widgets
Product: platform Reporter: David Kaspar <dkaspar>
Component: GraphAssignee: issues@platform <issues>
Status: RESOLVED FIXED    
Severity: blocker CC: sj-nb
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 105060    

Description David Kaspar 2007-06-01 14:27:39 UTC
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.
Comment 1 David Kaspar 2007-06-01 14:59:21 UTC
Fixed in main trunk. The FlowLayout did not calculate with widget.getBorder
().getInsets ()
Comment 2 David Kaspar 2007-06-07 12:57:18 UTC
FlowLayout.justify method has been reimplemented.