private void makeCompactGrid(JPanel panel) { SpringUtilities.makeCompactGrid(panel, panel.getComponentCount() / 2, 2, 12, 12, 5, 5); }