|
|
Re: JList data binding not working. [message #717365 is a reply to message #717337] |
Sat, 20 August 2011 06:52 |
joe Messages: 5 Registered: August 2011 |
Junior Member |
|
|
Eric Clayberg wrote on Fri, 19 August 2011 23:04Looks to me like your addPerson() method isn't firing any property change event. Unless you do that, the JList and the Data Binding framework itself have no idea that you have added anything. I would recommend reviewing the JFace Data Binding docs as the framework imposes specific requirements on any domain objects that you use.
In general, questions about how to use the JFace Data Binding framework should be posted to the Eclipse JFace Forum.[/url]
Hello Eric,
I just began using Window Builder, followed the data binding tutorial for Swing.
Do I need to manually write the property change events? I thought WindowBuilder would generate that automatically.....
Where is the package? Can I just follow what the tutorial is doing? I will try that anyhow.
Now, I have no clue what JFace is....should I be using that instead of Swing? I thought Swing was the way to go if you wanted it to work without extra library packaging. But I am actually deploying via .jnlp file.
When I public class Person extends ModelObject on Person class, it will not detect the package. Eclipse is telling me to create ModelObject....I am following the guide here
wiki.eclipse.org/JFace_Data_Binding/Tutorial
Thank you for your prompt reply.
Joe.
[Updated on: Sat, 20 August 2011 07:01] Report message to a moderator
|
|
|
|
Re: JList data binding not working. [message #775151 is a reply to message #717412] |
Thu, 05 January 2012 13:08 |
santosh guptha Messages: 5 Registered: January 2012 |
Junior Member |
|
|
This is related to Swing Binding example,
I did the binding between text fields and table, but when I select a row on the table, the text fields are not not getting updated, Do I need to add any code for the source ?? If yes, Please let me know where to add that.
I am trying to develop the same application that was given in SwingBinding tutorial,
I spent 3 days on this, till now I didn't get any answer to it.
Please help me on this.
Thanks in advance.
-
Attachment: Frst.png
(Size: 510.67KB, Downloaded 337 times) -
Attachment: second.jpg
(Size: 183.88KB, Downloaded 322 times)
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03765 seconds