Problem In JTable

Hi

I am using Jtable. and I created one Custom Table model. I want to show the sorted the table conatins on crystal report. for that I am geeting the model from table sorting that and the I am itrating the value and displying then on Report.

my problem is that, when i get the Model and sort the contains that will also affect on table conatins. I dont want to sort them on table plz help me

[410 byte] By [Jmaes@javaa] at [2007-11-27 5:11:43]
# 1
I think its problem related with the referance. i.e. both of your model refering to same object.can you able to post your code?
shinde_yogesha at 2007-7-12 10:32:11 > top of Java-index,Desktop,Core GUI APIs...
# 2
yes, I got it.now I created new TableModel nad then populated it using exsting onethanks for you help
Jmaes@javaa at 2007-7-12 10:32:11 > top of Java-index,Desktop,Core GUI APIs...
# 3
guys do you know how to refresh the contents of JTable whenever there are changes in the table (Database Table) ?Can I ask for a sample? I am very sorry I am just new to Java and Its been weeks already looking for a solution to this.Please help,ako
khickyphutza at 2007-7-12 10:32:11 > top of Java-index,Desktop,Core GUI APIs...