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 207372 - Component Bounds Property not set to [0,0,0,0] in Mac
Summary: Component Bounds Property not set to [0,0,0,0] in Mac
Status: RESOLVED WONTFIX
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Natural Layout (show other bugs)
Version: -S1S-
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-17 03:44 UTC by ChiCappy1231
Modified: 2012-04-04 16:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot of default bounds property in Mac for a Label component (245.74 KB, image/png)
2012-01-17 03:44 UTC, ChiCappy1231
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ChiCappy1231 2012-01-17 03:44:01 UTC
Created attachment 114951 [details]
Screen shot of default bounds property in Mac for a Label component

The default bounds property in my IDE is not [0,0,0,0] for any of the components.  I am running it on a Mac Lion OS.  See the screen shot attached for example of the bounds set for a label component for example. I also have netbeans installed on a Windows computer and a linux VM.  They both show bounds of [0,0,0,0].  As far as I know, I did not knowingly change anything to change the bounds property.
Comment 1 Jan Stola 2012-04-04 16:14:26 UTC
You can/should ignore the 'bounds' property. It is not meant to be set in GUI Builder especially when you don't use null/Absolute layout. In fact, if everything worked as it should then this property wouldn't be present in GUI Builder's list of properties. It is not present on Windows/Linux, but it is present on Mac OS as a consequence of a workaround of a serious bug in JDK 6 on Mac OS, see issue 157012 for details.

Also note that the fact that the value of this property is not [0,0,0,0] doesn't mean that you set it. The value shown in Properties window is just actual value pulled from the component. The values that were set by the user (and for which the code is generated) are marked by bold label.