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: | Component must be public to be member of another component | ||
---|---|---|---|
Product: | guibuilder | Reporter: | stevenable <stevenable> |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | Zip containing example project demonstrating the problem |
Description
stevenable
2008-04-15 15:51:59 UTC
Created attachment 60214 [details]
Zip containing example project demonstrating the problem
This is a known feature of Java GUI builders. They are based on JavaBeans specification e.g. can work with beans/components that are public and have public no-argument constructor. On the other hand, I understand that in some cases (like your one) it would help to be able to use non-public classes. Unfortunately, it would require bigger changes across the GUI builder, because by now it expects public classes only. This support would also require implementation of some additional checks e.g. whether the given non-public class can be added into this form etc. Keeping this issue as an enhancement request. Let's see whether we will have resources to implement it in future. |