Mouse click on Table cell

HiI am resetting the model of table on mouse clicking. And while doing that cell just flash out and dint come into the editable mode. Is there any way so that i can start edting of cell just after resetting model automatically. Please help me outThanksrOhit
[285 byte] By [jcswinga] at [2007-10-3 10:18:25]
# 1
!Message was edited by: Prashant_SDN
Prashant_SDNa at 2007-7-15 5:39:29 > top of Java-index,Desktop,Core GUI APIs...
# 2
You can use JTable1.setValueAt(obj , row, col) = ..; for all your data using two for loops and call the JTable.repaint();.
AmitavaDeya at 2007-7-15 5:39:29 > top of Java-index,Desktop,Core GUI APIs...
# 3
table.editCellAt(...);
camickra at 2007-7-15 5:39:29 > top of Java-index,Desktop,Core GUI APIs...
# 4
Thanks to all of u for ur quicl response. I tried this but stil i dint get cell in editable mode.
jcswinga at 2007-7-15 5:39:29 > top of Java-index,Desktop,Core GUI APIs...
# 5

If you need further help then you need to create a [url http://homepage1.nifty.com/algafield/sscce.html]Short, Self Contained, Compilable and Executable, Example Program[/url] (SSCCE) that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.

And don't forget to use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags[/url] so the code retains its original formatting.

camickra at 2007-7-15 5:39:29 > top of Java-index,Desktop,Core GUI APIs...