How can I make my columns different sizes using GridLayout in swing?

前端 未结 0 400
庸人自扰
庸人自扰 2021-02-11 16:04

I\'m using a GridLayout and my code is as follows:

int changingVar = 1;

JPanel panel = new JPanel(new GridLayout(changingVar, 2));
panel.add(new JButton(\"BUTTO         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题