Dymanic updation query.

I have an output displayed in the GUI.

The output is a row from the database.

I make a change in my Java application that affects this row and I would like

to display this change dynamically to the output displayed

What is a better option for doing the above?

1.Delete the row being shown,save the new row with the changes in the database,and re display it?

2.Or,Update the row dynamically and refresh?

How can the row be refreshed dynamically?

Any suggestions.

[517 byte] By [bhuru_luthriaa] at [2007-11-27 7:31:25]
# 1
Option 2 sounds like the natural one, but it depends on your situation and requirements.How to refresh, it depends on what GUI element(s) you use for displaying the row.
OleVVa at 2007-7-12 19:11:38 > top of Java-index,Java Essentials,Java Programming...
# 2
are you using JTable to display the database result?
achyuthba at 2007-7-12 19:11:38 > top of Java-index,Java Essentials,Java Programming...