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.
// disables all components in the custom panel
private void disableComponents(Container c) {
if (c==null) {
assert customPanel == null;
return;
}
RefactoringPanel.checkEventThread();
Component children[] = c.getComponents();
for (int i = 0; i < children.length; i++) {