christmo / macwidgets

Automatically exported from code.google.com/p/macwidgets
0 stars 0 forks source link

Add support/alternative for TableRowSorter (as part of JDK6) #105

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is an enhancement, no bug.

What is the expected output? What do you see instead?
The JDK6 adds the new class TableRowSorter used with table.setRowSorter()

My suggestion: 
<JDK6: Nothing new, because does not matter.
>=JDK6: Try to delegate the actual sorting stuff through the given 
TableRowSorter-object 
(Reflection for jdk5 compiling issues?)

Depends on:
Only JDK 6 and higher.

Please provide any additional information below.
http://java.sun.com/javase/6/docs/api/javax/swing/table/TableRowSorter.html and 
so on.

Original issue reported on code.google.com by knallisw...@googlemail.com on 27 Jun 2009 at 5:50

GoogleCodeExporter commented 8 years ago
As you suggest, this would have to use reflection.

Original comment by kenneth....@gmail.com on 27 Jun 2009 at 6:59

GoogleCodeExporter commented 8 years ago
I guess a sort indicator in the table header would be included in this ticket, 
right?

Original comment by dlemmermann@gmail.com on 20 Jan 2010 at 5:39

GoogleCodeExporter commented 8 years ago
Yes.

Original comment by kenneth....@gmail.com on 20 Jan 2010 at 5:43