[英]How would I use LayoutManager to get a layout like this?
So, I'm totally new to LayoutManager. 所以,我对LayoutManager完全不熟悉。 I've already read about the existing LayoutManager but don't which the best is to get a Layout like this. 我已经阅读过有关现有LayoutManager的信息,但最好是获得这样的布局。 The different colorboxes represent JPanels. 不同的颜色盒代表JPanels。
Which one should I use? 我应该使用哪一个?
您可以使用JGoodies的FormLayout 。
可以使用具有两个垂直组和两个水平组的GroupLayout
来实现该布局。
See How to Use GridBagLayout . 请参见如何使用GridBagLayout 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.