private JPanel buildMainPanel() {
		JPanel innerPanel = new JPanel();
		innerPanel.setLayout(new BorderLayout());
		innerPanel.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 10));
		innerPanel.getAccessibleContext().setAccessibleName("File Checkout");

		JPanel msgPanel = new JPanel(new BorderLayout());
		msgPanel.add(
			new GIconLabel(OptionDialog.getIconForMessageType(OptionDialog.QUESTION_MESSAGE)),
			BorderLayout.WEST);

		MultiLineLabel msgText = new MultiLineLabel("Checkout selected file(s)?");
		msgText.setMaximumSize(msgText.getPreferredSize());
		msgPanel.add(msgText, BorderLayout.CENTER);
		msgPanel.getAccessibleContext().setAccessibleName("Message");

		innerPanel.add(msgPanel, BorderLayout.CENTER);

		exclusiveCB = new GCheckBox("Request exclusive checkout");
		exclusiveCB.getAccessibleContext().setAccessibleName("Exclusive Checkout Box");

		JPanel cbPanel = new JPanel(new BorderLayout());
		cbPanel.setBorder(BorderFactory.createEmptyBorder(0, 0, 5, 0));
		cbPanel.add(exclusiveCB);
		cbPanel.getAccessibleContext().setAccessibleName("Options");
		innerPanel.add(cbPanel, BorderLayout.SOUTH);

		return innerPanel;
	}
Show the dialog; return an ID for the action that the user chose.

@param tool the tool used to show the dialog
@return OK, or CANCEL
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/datatree/CheckoutDialog.java