| Demonstrates three different styles when to commit changes:
on key typed, on focus lost, on OK/Apply pressed.
Therefore we bind 3 JTextFields to 3 String typed ValueModels
that honor the commit style. And we bind 3 JLabels directly
to these ValueModels that display the current value.
The ValueModels used in this example are requested from a
PresentationModel that adapts text properties of a TextBean.
This is just to demonstrate a consistent binding style.
The same techniques work with any ValueModel.
author: Karsten Lentzsch version: $Revision: 1.10 $ See Also: com.jgoodies.binding.PresentationModel |