title: How to implement expand/collapse nature to JTables in java swing application
body: <p>In my application i am displaying a list of tables with huge data. All of the tables may not fit in the window, we need to scroll to see the bottom tables. Here i need expand/collapse nature to the tables. User may select which tables he would like to see among all of the tables. This is my sample screen shot of the application.
  <img src="https://i.stack.imgur.com/rKdEm.png" alt="enter image description here"></p>
  
  <p>How can i do it. Any suggestions would be greatly appreciated.</p>