jtable fixed columns...

Hi there ppl,

i gotta real mad one for you here so hold tight for this one. lol.

I have a dynamic jtable with maximum number of columns determined by the number of data fields retrieved from my db. The prob is that to keep my jtable neat and concise, I would like to have the first four cols fixed, any additional cols after these should share a horizontal scroll as these cols share the same group of data, and then then after these another two fixed cols. The order of the data is important, hence why the fixed cols are not together and placed either side of scrollable "non-fixed" cols.

If this is actually possible then please let me know, and an example or 2 would be great. Or if anybody can come up with a better solution then I'm open to suggestions.

Thanks Javites.

[807 byte] By [billydakida] at [2007-9-21]
# 1
Maybe this is what you are looking for: http://www2.gol.com/users/tame/swing/examples/JTableExamples1.html
camickra at 2007-7-14 > top of java,Archived Forums,Swing [Archive]...