Hi guys,
I’ve started to use Apache Netbeans 11.2 and I’m issuing an annoying strange 
behaviour that I can reproduce following these steps:
created a new project of type Netbeans Platform Application;
added a new module to my application;
added a new TopComponent window with a button on it;
localized the Bundle.properties to my language Bundle_it_IT.properties;
localized the button of my TopComponent. Build and Run and everything works 
well as expected…
… now added a new JPanel form, with a JLabel that I localized… try to build 
again but it fails with the error <java.util.MissingResourceException: Can't 
find resource for bundle org.openide.util.NbBundle$PBundle, key 
CTL_MyEditorTopComponent
at java.util.ResourceBundle.getObject(ResourceBundle.java:450)
at java.util.ResourceBundle.getString(ResourceBundle.java:407)
at org.openide.util.NbBundle.getMessage(NbBundle.java:617)…>

It seems to be an issue related to the @Message annotations and other keys in 
Bundle.properties file. Due to this I’m unable to put a TopComponent and a 
JPanel in the same package.
Anyone else has got this problem?

Marco Rossi <ma...@markreds.it>
Inviato dal suo MacBookPro





Reply via email to