NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Bug in NB Module design and beansbinding

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
elcharly



Joined: 30 Jan 2009
Posts: 3
Location: Argentina

PostPosted: Tue Jul 28, 2009 2:36 pm    Post subject: Bug in NB Module design and beansbinding Reply with quote

There is a simple solution, you can go to your project properties ->
Libraries and check "Beans Binding Integration" inside "Java2"
Then in the module properties just add the dependency (search binding)
Note that the module needs to be added to that project.
Hope that helps
Charly


jose silva-3 wrote:
Quote:

I've found what appear to be a bug in NB 6.0 and 6.0.1 (i've tried it in
both). In short beansbinding doesn't work in NB Modules. It works
perfectly well in standard java applications but not inside an NB module.
I've tried in NB 6.0 and 6.0.1 and in a fresh installation of NB 6.0 in a
second computer to eliminate possibility of problems with my computer
installation.

The apparent problem can be reproduced like this:
In an NB module, create a new form by creating new Window component.
Create also a simple bean with only one field, compile the class and
register it as a binding source by drag and drop it inside the form.
Insert a single text field from the palette, by pressing the right button
over it select bind->text, chose the bean from the first combo and the
field from the second.

So far, so good. Unfortunately an error appears in the form's
auto-generated code in the line "private
org.jdesktop.beansbinding.BindingGroup bindingGroup" and the error is
"package org.jdesktop.beansbinding does not exist". This line is in the
protected area so I can“t correct it even if I knew how. If I do
ctrl-space in front of org.jdesktop. the only member that appear is
"layout" not the ones that should appear
"beansbinding","swingbinding","el" or "observablecollections".

Is this a known issue? Does anybody knows how to correct it?

Many thanks

Jose S. Silva
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


--
View this message in context: http://www.nabble.com/Bug-in-NB-Module-design-and-beansbinding-tp15726641p24699212.html
Sent from the Netbeans RCP/Platform Users (Open API) mailing list archive at Nabble.com.
Back to top
alan93



Joined: 02 Dec 2010
Posts: 21

PostPosted: Tue May 08, 2012 2:51 pm    Post subject: Reply with quote

simple if i new what the heck beans binding integration was and where it was. What is that? I don't see it.
Back to top
alan93



Joined: 02 Dec 2010
Posts: 21

PostPosted: Tue May 08, 2012 3:25 pm    Post subject: Reply with quote

I closed and re-opened and got VM Failed.
Closed and re-opened again and its fine.
AM i missing something here?
Back to top
Mario Spindizzy
Posted via mailing list.





PostPosted: Thu May 10, 2012 6:34 am    Post subject: [platform-dev] Re: Bug in NB Module design and beansbinding Reply with quote

Beans binding is based on JSR 295:
http://today.java.net/pub/a/2008/03/20/synchronizing-properties-with-beans-binding.html

To find an integration for your NetBeans app:
Right click on your project => Properties => Libraries => open the
'java' node, there you will find Beans Binding integration

Tutorial: http://netbeans.org/kb/docs/java/gui-binding.html

2012/5/8 alan93 <address-removed>:
Quote:
simple if i new what the heck beans binding integration was and where it was. What is that? I don't see it.



Back to top
hayford Osei
Posted via mailing list.





PostPosted: Thu May 10, 2012 11:35 am    Post subject: [platform-dev] Re: Bug in NB Module design and beansbinding Reply with quote

sorry my app is Netbeans App.

On Thu, May 10, 2012 at 1:33 AM, Mario Spindizzy <address-removed ([email]address-removed[/email])> wrote:
Quote:
Beans binding is based on JSR 295:
http://today.java.net/pub/a/2008/03/20/synchronizing-properties-with-beans-binding.html

To find an integration for your NetBeans app:
Right click on your project => Properties => Libraries => open the
'java' node, there you will find Beans Binding integration

Tutorial: http://netbeans.org/kb/docs/java/gui-binding.html

2012/5/8 alan93 <address-removed ([email]address-removed[/email])>:
Quote:
simple if i new what the heck beans binding integration was and where it was. What is that? I don't see it.









--
Distant Waters Cannot Quench Your Thirst
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo