> ouroborus wrote:
>> As part of another project, I spent some time updating
[quoted text clipped - 6 lines]
>
> Where's the JUnit unit tests for it?
There aren't any. However, feel free to volunteer for this task.
> Why use reflcection to search for a method 'compareTo' when you could
> use instanceOf?
I'm not a programmer by profession. My knowledge in the areas relating
to reflection and related were very minimal a few days ago before I had
started working on this. Thank you for the idea though, I'll have to
look into this.
> At my last company we tried all sorts of way of making the adapter work
> in all conditions and found the best approach for this task - is to use
[quoted text clipped - 7 lines]
>
> It worked the tree and with surprisingly little code.
> see http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JTable.html#convertColumnInd
exToView(int)
>
[quoted text clipped - 4 lines]
> made more sense from the design pattern point of view (JTable is a mix
> of the controller and view) it also worked in a far easier manner.
Now that you mention it, it seems that was/is my problem to. I'm glad you
said this as it presents me with a new view of this whole thing. My
initial goal was to simply make TableSorter work and compile without
warnings. Since it turned out to be reasonably presentable, I decided to
post it.