facebook

Problems with Beans

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

    wihsy
    Member

    Hello,
    the basic Matisse functions works really good but I’ve some Problems with JavaBeans:
    When I add some Beans with CTRL+F10 -> “Manage Palette…” and then add Beans with selecting the tree entry “Beans” add press “Add Widgets” the Beans are added to “Custom”, why? But this is not really a great problem.
    A big problem is that very often when I would like to place a Custom Bean a Error Message pops-up: “The component cannot be instantiated. Please make sure it is a JavaBean.” (It is really a JavaBean and works great with Matisse under Netbeans).

    I hope this problems will be solved because I really like the Matisse Editor and it would be the reason for us to use MyEclipse.

    Greetings,
    Michael

    System: MyEclipse 5.0GA (Trial) – Updates to 5.01 (Matisse not affected), Eclipse 3.2, WinXP SP2

    #257192 Reply

    Riyad Kalla
    Member

    Michael,
    A lot of times what causes a bean to fail instantiation is that it doesn’t have an empty constructor, do all your bean classes contain an empty constructor?

    #257744 Reply

    januszm
    Member

    The same problem with beans was when I added JXDatePicker bean from swingx components
    (http://swinglabs.org/index.jsp). Some other controls from this package seems to work, but when they are placed on the form, the controls on this from disappear when you close and reopen thr form and try to move some control.

    (sory for my english)

    JanuszM

    #257746 Reply

    Riyad Kalla
    Member

    JanuszM,
    We have confirmed problems with the JX (swinglabs) controls and have filed it for investigation, sorry for the trouble.

    #257888 Reply

    David Orriss Jr
    Participant

    @support-rkalla wrote:

    JanuszM,
    We have confirmed problems with the JX (swinglabs) controls and have filed it for investigation, sorry for the trouble.

    Darn it! I was coming here to see if I was just not understanding something… And it turns out I’m not the only one who can’t get the Swinglabs stuff to work.. Darn… 🙁

    #259476 Reply

    tekwojenski
    Member

    It seams that when you restart the MyEclipse, this problem (The component cannot be instantiated. Please make sure it is a JavaBean) goes away. In any case this is a bug and should be resolved my the fine folks at MyEclipse.

    #259477 Reply

    Riyad Kalla
    Member

    Unofficially I thikn it may get targetted to be fixed in 5.0.3, fingers crossed.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Problems with Beans

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