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

Horizontal ScrollBars in JTable.. screen gets distorted  RSS feed

Ravi Sathish
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I have a JTable... I have setAutoResize to OFF... Hence User can change the width of the column.

Now here's my problem:
When I grab the edge of a header of the table and resize until it disappears from the right edge of the screen; I'm facing 2 problems:
1> table header and table cell column width gets out of synch
2> Screen gets distorted especially at the Header

Please let me know about potential solutions, workarounds.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!