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: | Form is not repainted after deleting some component from it. | ||
---|---|---|---|
Product: | guibuilder | Reporter: | Jan Stola <jstola> |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | CLOSED WONTFIX | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jan Stola
2000-09-07 09:41:46 UTC
This is caused by mixing AWT and Swing components and containers. Form editor uses internally a Panel as top container for Dialog, Applet and Panel design forms. This AWT Panel is not correctly repainted if it contains Swing components and has a Swing layout. I suppose this could be fixed by using JPanel instead (during design). But I'm not sure if this won't affect AWT components then... However, user can still put a Panel with Swing components into the form manually and the problem is back... I think Swing components should not be put into AWT containers. (Does it make sense to warn the user not to do it?) Even if we got round this problem at design time it wouldn't work at runtime. So I suggest to keep the current implementation. *** Bug 8375 has been marked as a duplicate of this bug. *** Resolved for 3.3.x or earlier, no new info since then -> closing. |