facebook

Custom component problem with ResourceBundle

  1. MyEclipse Archived
  2.  > 
  3. Matisse/Swing UI Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #267986 Reply

    akhenaton
    Member

    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

    #267999 Reply

    Luc
    Member

    Which version of MyEclipse and Matisse4MyEclipse are you using ?

    #268026 Reply

    akhenaton
    Member

    matisse 5.1.0
    MyEclipse Enterprise Workbench 5.1.1

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Custom component problem with ResourceBundle

You must be logged in to post in the forum log in