This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable column resizing  RSS feed

 
jenith
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
When I do a resizing of columns on the JTable the subsequent columns seem to disappear when the resized column is being dragged alon until the end of the table.I would like all columns to be seen at anypoint of time when there is a resizing done to a column.It does'nt matter if the size of the other columns shrink.
How could I achieve this .. plz do help me out with the same...
I tried it with setMinWidth() n setMaxWidth().. it works to an extent but not when the column being resized is towards the end of the table.
Thanks :roll:
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jenith,

Please re-register with a user name that follows the guidelines in the Official JavaRanch User Name Convention. Your user name is required to be in the format "First Name" + space + "Last Name".

Thanks,

-Nate
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!