posted 21 years ago
Hi Ahmed,
I remember answering a very similar question very recently -- but I don't remember who asked it, and on what forum it was, but I'm assuming it wasn't you.
I think the following examples will be helpful (if you aren't already familiar with them, of-course):
http://www2.gol.com/users/tame/swing/examples/JTableExamples4.html
Hope this helps you.
Good Luck,
Avi.