Move a row to top of the JTable
Hy,
I am building an Ftp client in swing. I have a JTable that shows the user what files are in the queue.
The problem is that i want every new row to enter the table from the top and not come last in the table. I use a DefaultTableModel. This model has a method called moveRow.
moveRow(int start,int end,int to)
the method and its parameters look very easy but somehow i cant get it right.
Anyone?

