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.
Summary: | LAYOUT: Cannot align right side of a component | ||
---|---|---|---|
Product: | guibuilder | Reporter: | Tim Lebedkov <lebedkov> |
Component: | Natural Layout | Assignee: | issues@guibuilder <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | jdineiro, joefitz, mikesmithv |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 136425 | ||
Attachments: |
form
java-form |
Description
Tim Lebedkov
2006-08-04 15:11:10 UTC
Created attachment 32546 [details]
form
Created attachment 32547 [details]
java-form
I was able to reproduce the issue. The following exception is thrown: java.lang.IndexOutOfBoundsException: Index: 3, Size: 3 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at org.netbeans.modules.form.layoutdesign.LayoutInterval.getSubInterval (LayoutInterval.java:423) at org.netbeans.modules.form.layoutdesign.LayoutFeeder.mergeSequentialInclusion (LayoutFeeder.java:2662) at org.netbeans.modules.form.layoutdesign.LayoutFeeder.add (LayoutFeeder.java:274) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.endMoving (LayoutDesigner.java:631) at org.netbeans.modules.form.HandleLayer$ResizeComponentDrag.end (HandleLayer.java:2362) at org.netbeans.modules.form.HandleLayer$ComponentDrag.end (HandleLayer.java:2031) at org.netbeans.modules.form.HandleLayer.endDragging(HandleLayer.java:864) at org.netbeans.modules.form.HandleLayer.mouseReleased(HandleLayer.java:1413) Lowering to P3: the form is not corrupted - it is reverted back to the original layout after the exception. There is also a simple workaround: Resize the text field to the right, but use the suggested gap. Resize the text field to align with the right size of the container in the second step. *** Issue 159789 has been marked as a duplicate of this issue. *** Still valid in: Product Version: NetBeans IDE Dev (Build 201110030601) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Linux version 2.6.38-11-generic running on i386; UTF-8; en_US (nb) Still valid in: Product Version: NetBeans IDE 7.0.1 (Build 201107282000) Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) Works for me in: Product Version: NetBeans IDE 7.1.1 (Build 201202271535) Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) Works for me in: Product Version: NetBeans IDE Dev (Build 201203210400) Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) |