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 213672

Summary: No dependency on org.openide.util set when creating JPanel form in module
Product: guibuilder Reporter: mienamoo
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description mienamoo 2012-06-06 14:07:28 UTC
NetBeans build 201206050001
JDK 7u3 32-bit

I created a standalone, Ant-based NetBeans Platform module. And in it I created a JPanel form, and I put a JLabel and a JTextField on it. The code was generated correctly, but no dependency was set on the module Utilities API (org.openide.util). The generated code uses

org.openide.util.NbBundle()

from the util module, which means that the module will not compile without having to fix the dependency manually. Could this dependency be added automatically during code generation?
Comment 1 Tomas Pavek 2012-06-06 14:20:39 UTC

*** This bug has been marked as a duplicate of bug 196497 ***