1 Reply Latest reply: Oct 15, 2013 7:13 AM by 946128 RSS

    databinding in swing



      Please I need your help.

      Did someone know an equivalent mecanism in Swing that do the same thing as the javaFx databinding?

      here is an exemple:


      IntegerProperty A = new IntegerProperty();

      IntegerProperty B = new IntegerProperty();


      B.bind( A.multiply(2) );


      I know I can  add a change listener to be notified when the property's value has changed but I wondering if there is a better solution.(more easy)

      Any Ideas please?