The free JGoodies Binding synchronizes object properties with Swing components. And it helps you represent the state and behavior of a presentation independently of the GUI components used in the interface.
The Binding works well with Presentation Model, Model-View-Presenter (MVP), and other desktop patterns.
Download the Showcase application to get tutorial sources
Example
binder.bindBeanProperty("title") .to(titleField);
binder.bindBeanProperty("amount") .to(amountField);
binder.bindBeanProperty("price")
.converted(currencyConverter) .to(priceField);
binder.bindProperty("contactsCount")
.formatted(resultFormat) .to(contactsLabel);
binder.bind(contacts, contactsSelection).to(contactsTable);
Acknowledgements
The Binding has been inspired by the VisualWorks ValueModel hierarchy, the PresentationModel pattern, and the Java Beans standard.