I have a form, to create users(which is invoked on clicking button Create). Now i want to edit user details which is in Database, i click on Edit User and i am providing a TextBox, to type in the UserName (which is unique), using hibernate i am getting the User details and now i want to load these details in same form (create user form) and set the values of user in form , provision to edit the details

Can you please share ideas as how to do this? Should i use Binding here?