问题 i am learning GridBagLayout and did very simple layout that is attached,There are two very small confusions 1- Size of Buttons i have used New.setPreferredSize(new Dimension(70,23)); is it standard way to make all the buttons same size 2-Placing of components does not look good now see there is much more padding on all sides of components , so how to put it in right way from top left corner , should i decrease size of JFrame? or use frame.pack(); both work but dont know what is standard