Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Column distortion while scrolling JTable

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