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 7707 - Form position value on code generation tab is not added to code
Summary: Form position value on code generation tab is not added to code
Status: CLOSED INVALID
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-09-18 23:16 UTC by jhoffman
Modified: 2003-06-30 18:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jhoffman 2000-09-18 23:16:13 UTC
Specifying an initial position for your form using the "form position" entry
field in the properties of the Component Inspector does not work.  No code
is generated (for example, there should be a line like:

        setLocation(new Point( 200,  200));

inserted in the code. (and the appropriate import statement for the Point class)
Comment 1 Tomas Pavek 2000-09-19 09:44:59 UTC
This is not a bug. To generate code for setting form position (or size),
property "form size policy" must be set to "Generate Resize Code" (also
properties "generate center", "generate position" and "generate size" can be
tuned additionaly).
Comment 2 Quality Engineering 2003-06-30 18:21:30 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 3 Quality Engineering 2003-06-30 18:26:50 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.