hi everybody,

i have several instances of JTable and want to select multiple lines in one JTable, select a line in another JTable and paste the contents there. The layout of columns is identical in both jtables and the paste should override existing values in the destination JTable.

I looked around a lot. The best i could find is:
Java Tip 77: Enable copy and paste functionality between Swing's JTables and Excel - JavaWorld
and
Java Tip 77: Enable copy and paste functionality between Swing's JTables and Excel - JavaWorld

I tried it and it works, but it converts the content of every cell into a string, because it is designed to exchange data with excel. But i have Color, Integer, Double, Boolean and in the future more classes in the columns of my tables. So, what is the approach to do that? I also dug through half a dozen of java books. All of them only deal with exchanging ascii text with the non java world. So, any suggestions here, how to approach this problem?

Thanks for your help in advance