m_pauseButton.setToolTipText("Display a pause button next to playable stimuli.");
JButton nextButton = new JButton("Next");
JButton backButton = new JButton("Back");
setLayout(new MigLayout("fill", "[grow 0|fill, grow, sg col]"));
JPanel pagesPanel = new JPanel(new MigLayout("fill, insets 0", "[sg, fill, grow]"));
pagesPanel.setBorder(BorderFactory.createTitledBorder("Pages"));
pagesPanel.add(m_backButton);
pagesPanel.add(m_loopButton);
add(pagesPanel, "span, wrap, growx");
JPanel stimuliPanel = new JPanel(new MigLayout("fill, insets 0", "[sg, fill, grow]"));
stimuliPanel.setBorder(BorderFactory.createTitledBorder("Stimuli"));
stimuliPanel.add(m_stopButton);
stimuliPanel.add(m_pauseButton);
stimuliPanel.add(repeatLabel1, "split 3, grow 0");
stimuliPanel.add(m_repeatField);