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: | [65cat] IDE doens't remove node for component if the bean is no more a container | ||
---|---|---|---|
Product: | guibuilder | Reporter: | Michel Graciano <hmichel> |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Michel Graciano
2008-11-24 20:52:47 UTC
Thank you for your report. While custom component is changing from container type to non-container type, IDE should throw dialog and warn user of inner components loss. Did I understand your enhancement correctly? Yes, that is it. Probably, the correct approach is ask to user about it, if he wish proceed with the fix (remove the nested components) or open as read only, so user has a chance to understand what is going on and maybe copy components to another form and so on. BTW, the cases where I can see it is when we use a component without bean info (as JXMonthView from SwingX) and when we fix it for our projects and form already exists, the IDE show a error on log files that layout could not be found, but the layout is just necessary for containers... so it is not the error, the problem is that the component should be define as a non container. I hope to be clear about my points. BTW, 6.5 are working really well with third-party components. :) |