tags:

views:

33

answers:

2

How can I fix the column in JTable so that the column is always visible ? If I use JViewport than for the first time table is coming correct but when I click btn for the second time the next column in the Jtable is made fixed this continues each time.

A: 

You might compare your current approach to the fixed column example show here.

trashgod
A: 

Hi,

I found this tutorial http://www.java2s.com/Code/Java/Swing-Components/FixedTableColumnExample.htm

I do hope it helped.

djakapm