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 - No dependency on org.openide.util set when creating JPanel form in module
Summary: No dependency on org.openide.util set when creating JPanel form in module
Status: RESOLVED DUPLICATE of bug 196497
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-06 14:07 UTC by mienamoo
Modified: 2012-06-06 14:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***