Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Column distortion while scrolling JTable  RSS feed

Karthikeyan Chandrasekaran
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am using a JScrollPane to scroll the contents of a JTable vertically. Whenever I drag the thumb of scrollbar, last column in table got distorted. All other columns remain perfect.

I have changed viewport scrolling mode to JViewport.BACKINGSTORE_SCROLL_MODE. Now last column is scrolled perfectly without any distortion but performance of scrolling got degraded.

Please let me know how to solve the issue.

Note: I am using custom renderers for table and running my code with JRE 1.4.2.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!