I'm currently building a class called NTable which is am extension of JTable. Basically I'm trying to create an all-in-wonder for myself so that I can create and manipulate tables pretty easily without fussing around with the different models and renderers.
I'm currently having a problem with sorting and rendering though.
Quick walkthrough: I set the foreground color of a record to BLUE. I then sort the table.
The first problem is that the color doesn't move with the record but stays in a static position in the table. (Always a row #, not a particular record)
The second problem is that when I try to get the selectedRow, the result always comes up as -1 when I click on a sorted table.
Paper has not yet been outlawed – so let your Java Swing application print with wild abandon: JPDF