Keeping a single column static inside a JTable
Is there a w开发者_如何学Goay to keep the first column of a JTable embedded inside a JScrollPane static on scrolling the mouse horizontally.The table contains more than 50 columns.
There is an example of this on this Swing examples site. The author creates two tables, putting one of them in the scrollpane. They both share the same model. He then ties their selection logic together. The full code is available on the page.
精彩评论