How to get JScrollPanes within a JScrollPane to follow parent's resizing

后端 未结 1 467
攒了一身酷
攒了一身酷 2021-01-23 14:51

So I have a bunch of JTables. Each JTable is inside a JScrollPane. I\'m then adding each of these JScrollPanes to a JPa

相关标签:
1条回答
  • 2021-01-23 15:42

    You can use a BoxLayout. If you want the opposite: some table being fixed, you can wrap it with constraint Box.createRigidArea(new Dimension(100, 100)) .

    0 讨论(0)
提交回复
热议问题