protected JPanel buildMainPanel() {
		JPanel iconPanel = createIconPanel();
		JPanel iconFieldPanel = createIconFieldPanel();
		addIconPanelListeners();

		JPanel toolFieldPanel = createToolFieldPanel();

		JPanel panel = new JPanel(new BorderLayout());
		panel.add(toolFieldPanel, BorderLayout.NORTH);
		panel.add(iconPanel, BorderLayout.CENTER);
		panel.add(iconFieldPanel, BorderLayout.SOUTH);
		panel.setPreferredSize(new Dimension(400, 300));
		panel.getAccessibleContext().setAccessibleName("Save Tool Configuration");
		return panel;
	}
Define the Main panel for the dialog here.
@return JPanel the completed Main Panel
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/dialog/SaveToolConfigDialog.java