private void createMainButtons() {
        Insets insets = container.getInsets();
        JButton clearSelection = new JButton("Unselect all");
        Dimension size = clearSelection.getPreferredSize();
        clearSelection.setBounds(265 + insets.left, 235 + insets.top, size.width, size.height);
        clearSelection.addActionListener(new UnselectAllCardsListener(container, selectedCards, selectedCardLabels, this));

        container.add(clearSelection);

        JButton startSimulation = new JButton("Start simulation");
        size = startSimulation.getPreferredSize();
        startSimulation.setBounds(450 + insets.left, 720 + insets.top, size.width, size.height);
        startSimulation.addActionListener(new StartSimulation(this, gui));

        container.add(startSimulation);

        JButton abort = new JButton("Abort");
        size = abort.getPreferredSize();
        abort.setBounds(600 + insets.left, 720 + insets.top, size.width, size.height);
        abort.addActionListener(new CloseWindow(dialog));

        container.add(abort);
    }