Skip to main content

a question with TextBinding

2 replies [Last post]
zzsnake
Offline
Joined: 2006-03-20
Points: 0

when I used TextBinding(nameTF, model, "name") to bind the JTextField and jxtable , when i edited JTextField and at this time JTextField's value is changed a new one ,my question is how can i post the new value to the jxtable ?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
rbair
Offline
Joined: 2003-07-08
Points: 0

TextBinding should have a commit mode, like auto-commit, commit on focus lost, etc. By default, I think it is in "commit on focus lost" mode. Change it to auto-commit and you should get what you are looking for.

zzsnake
Offline
Joined: 2006-03-20
Points: 0

thank you rbair ,but how can i do it auto-commit. I used textbinding.push(),but it not take effect.