Java netbeans binding. how to refresh bindings..? -


I have a jlabel and using Netbeen I have forced it to property on property.

The problem is how do I refresh the binding values ​​when the label text is bound, then it has been changed in it.firePropertyChange works but stinks ... I I would like to do something like this. Refresh or. It is refreshing that the label will update the text

For example jLabel.text is bound to create some form

  private someClass someThing; Some value to public string () {someThing.getSomeThing () back); } // When some methoflake is removed from the burn, then its text value should be publicly empty someMethod () {someThing = someThingElse; BindingGroup.refresh () ????? Unfortunately, if you want to use the Beans Binding API, then you < Handling the scent of code> firePropertyChange  

However, I do not know what the problem is? It's a fairly simple change to change your class to:

  Some private classes; Some value to public string () {someThing.getSomeThing () back); } // When some methof is removed, its text value must be publicly blank. Some method () {someClass oldValue = someThing; Some tahs = some ThingElse; This.firePropertyChange ("someValue", Old Value, Some Ching); }  

Check out.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -