Re: Bundle is not recognized in NetBeans 8.2
Charles Bedon <[email protected]> Wed, 28 Jun 2017 19:30:52 -0500
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <CA+0gwA2F0EUrxGi7gxn7jmBo7C440g3HY7WqzOuy94hTpBVxtA@mail.gmail.com> |
Hello, It seems that the support for localized resources changed from "Utilities API" to "Base Utilities API", try adding the latter as a dependency in your module. See these links for reference: Latest version: http://bits.netbeans.org/dev/javadoc/org-openide-util/org/openide/util/NbBundle.html 8.0.2 version: http://bits.netbeans.org/8.0.2/javadoc/org-openide-util/org/openide/util/NbBundle.html Kind regards, Charles Edward Bedón Cortázar http://www.neotropic.co | Network Management, Data Analysis and Free Software | twitter.com/neotropic_co Open Source Network Inventory for the masses! http://kuwaiba.sourceforge.net | Follow Kuwaiba on Twitter <http://twitter.com/kuwaiba> Linux Registered User #386666 On Wed, Jun 28, 2017 at 5:13 AM, Volodymyr <[email protected]> wrote: > Hi, > > Moving my module to NetBeans 8.2 from NetBeans 8.0.2 and Bundle is not > recognized: > > public TestClassesTopComponent() { > initComponents(); > setName(*Bundle*.CTL_TestClassesTopComponent()); > setToolTipText(*Bundle*.HINT_TestClassesTopComponent()); > OpenProjects.getDefault().addPropertyChangeListener(this); > tree.setModel(createTreeModel(false)); > } > > What should I do? > > Thanks a lot. >