本文介绍了GridLayout具有不同的高度列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 如何制作如下所示的GUI?我尝试了GridLayout但是面板A和B的大小总是相等的。我如何制作不等于30px和200px的东西......另外,我想用手工编码的方法。没有拖放。Hi,How do I make a GUI that look like this? I tried GridLayout but the size of Panel A and B is always equal. How do i make something NOT equal like 30px vs 200px ......Also, I want to hand coded method. No drag and drop.------------------------------------------- -- -- -- -- -- JPanel A(1000px x 30px) -- -------------------------------------------- -- -- -- -- -- JPanel B(1000px x 100px) -- -- -- -- -- -- -- -- -- -- -- -------------------------------------------推荐答案 这篇关于GridLayout具有不同的高度列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
09-12 21:59