How to resizes the buttons which is added to the panel in grid layout | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to resizes the buttons which is added to the panel in grid layout

I added the on jpanel and one jbutton in grid layout (2,1) but the button fill the full frame in second row how to resize the button??

30th Nov 2022, 1:49 PM
Himanshu Sharma
Himanshu Sharma - avatar
2 Answers