/** * Create the button panel to the right of the summary table. * * @return see above. */ private JPanel createButtonPanel() { JPanel panel = new JPanel(); panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS)); panel.add(Box.createRigidArea(new Dimension(0, 10))); JPanel channelPanel = UIUtilities.buildComponentPanel(channelSelection); // UIUtilities.setDefaultSize(channelPanel, new Dimension(175, 32)); panel.add(channelPanel); panel.add(Box.createRigidArea(new Dimension(0, 10))); JPanel intensityPanel = UIUtilities.buildComponentPanel(showIntensityTable); UIUtilities.setDefaultSize(intensityPanel, new Dimension(175, 32)); panel.add(intensityPanel); panel.add(Box.createRigidArea(new Dimension(0, 10))); JPanel savePanel = UIUtilities.buildComponentPanel(saveButton); UIUtilities.setDefaultSize(savePanel, new Dimension(175, 32)); panel.add(savePanel); panel.add(Box.createVerticalGlue()); return panel; }