Hi,
I ‘ve made custom component that use ResourceBundle in label text. Since I drag & drop the custom component in my main frame, I get :
Annotation: The component cannot be instantiated. Please make sure it is a JavaBean.
Annotation: Missing resource from class: com.waylis.addressbook.gui.EntryViewPanelResources_fr_FR
Annotation: Key which was not found:
java.util.MissingResourceException: Can’t find bundle for base name com.waylis.addressbook.gui.EntryViewPanelResources, locale fr_FR
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at com.waylis.addressbook.gui.EntryViewPanel.<init>(EntryViewPanel.java:30)
…
The ResourceBundle is correct since I use exactly the same in the main frame and it works.
Thanks
Bertrand