posted 20 years ago
Hi All,
I have a JTable where user can enter their address information. Table has street, zip, city, county and state as Columns. (I save these info to AddressTable)
Once user enters the zipcode I have to populate the city , state and county information from the database. (from ZipcodeTable)
So far I have a ZipEditor for the zip column, which validates if the user is entering correct zipcode.
My problem is once the zip editor is done the validation, how should I get the city, state and county from ZipCodeTable and display it on the JTable.
Right now once the validation is done, the cursor moves to the city column. Where should I capture the action that zip column is ready and refresh the current table with new city state and county info.
(I hope I explained it well)
Thanks