• Post Reply Bookmark Topic Watch Topic
  • New Topic

Urgent:Table in BorderLayOut.NORTH

 
Kinu Kanwar
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a scroll pane which contains table. I have placed this scroll pane in NORTH section of BorderLayout.

The problem is that table has 10 rows and I want user to show atleast 3-4 rows but as I have placed scroll pane in north so it just shows only one row and includes scroll bar.

Any quick help is appreciated.

Kinu
 
Kinu Kanwar
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Called setMinimumSize() on Table , it worked.

Kinu
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!