|
how to refresh the table when a new account is added and display instantly
hi frnds lot of hurry need urgent help
i created a table in which students information is displayed as soon as the shell opens and when i click anyone then at the bottom in text boxes i can add a new account.NOW COMES MY PROBLEM,WHEN I ADD A NEW ACCOUNT THE NEW ACCOUNT IS NOT DISPLAYED INSTANTLY IN THE TABLE .I NEED TO LOGOUT N AGAIN SIGNIN TO VIEW THE NEW ACCOUNT.HOW CAN I UPDATE THE NEW ACCOUNT INSTANTLY IN THE ABOVE TABLE.i tried everything like
con.commit and creating a new method n trying to call tht n display again but nothng is working.i read about firetableX methods in swings but really dont know how to implement
plzzzzz reply fast
|