SpringUtilities.makeCompactGrid(guiSettingsTab, 5, 2,
guiSettingsTab.add(tabbedTrackLabel); guiSettingsTab.add(tabbedTrackCheckBox); SpringUtilities.makeCompactGrid(guiSettingsTab, 6, 2,
    private JPanel createGUISettingsTab() {        JPanel guiSettingsTab = new JPanel(new SpringLayout());        JLabel locomotiveControlNumberLabel = new JLabel(            "Number of Locomotive Controls:");        locomotiveControlNumberModel = new SpinnerNumberModel(5, 1, 10, 1);        locomotiveControlNumber = new JSpinner(locomotiveControlNumberModel);        JLabel switchControlNumberLabel = new JLabel(            "Number of Switch Controls per row:");        switchControlNumberModel = new SpinnerNumberModel(7, 1, 10, 1);        switchControlNumber = new JSpinner(switchControlNumberModel);        JLabel keyBoardLayoutLabel = new JLabel("Keyboard-Layout");        keyBoardLayoutComboBox = new JComboBox();        keyBoardLayoutComboBox.addItem("Swiss German");        keyBoardLayoutComboBox.addItem("English");        writeLog = new JCheckBox();        JLabel writeLogLabel = new JLabel("Write Log");        fullscreen = new JCheckBox();        JLabel fullscreenLabel = new JLabel("Fullscreen");        guiSettingsTab.add(locomotiveControlNumberLabel);        guiSettingsTab.add(locomotiveControlNumber);        guiSettingsTab.add(switchControlNumberLabel);        guiSettingsTab.add(switchControlNumber);        guiSettingsTab.add(keyBoardLayoutLabel);        guiSettingsTab.add(keyBoardLayoutComboBox);        guiSettingsTab.add(writeLogLabel);        guiSettingsTab.add(writeLog);        guiSettingsTab.add(fullscreenLabel);        guiSettingsTab.add(fullscreen);        SpringUtilities.makeCompactGrid(guiSettingsTab, 5, 2, // rows, cols            6, 6, // initX, initY            6, 6); // xPad, yPad        JPanel north = new JPanel(new BorderLayout());        north.add(guiSettingsTab, BorderLayout.NORTH);        return north;    }