private JPanel buildMainPanel() {
		JPanel mainPanel = new JPanel(new BorderLayout());

		JPanel innerPanel = new JPanel(new BorderLayout());

		JPanel labelPanel = new JPanel(new GridLayout(0, 1));
		labelPanel.add(new GLabel("Multiple actions have been mapped to " + keystrokeName));
		labelPanel.add(new GLabel("Actions that can be enabled at the same"));
		labelPanel.add(new GLabel("time should be mapped to different keys"));
		labelPanel.getAccessibleContext().setAccessibleName("Label");

		innerPanel.setBorder(BorderFactory.createTitledBorder("Actions"));
		innerPanel.getAccessibleContext().setAccessibleName("Actions");
		JPanel panel = new JPanel(new FlowLayout(FlowLayout.LEFT));

		Icon icon = UIManager.getIcon("OptionPane.warningIcon");
		panel.add(new GIconLabel(icon));
		panel.add(labelPanel);
		panel.getAccessibleContext().setAccessibleName("Icon");

		listModel = new DefaultListModel<>();
		actionList = new JList<>(listModel);

		actionList.addKeyListener(new KeyAdapter() {
			@Override
			public void keyPressed(KeyEvent evt) {
				if (evt.getKeyCode() == KeyEvent.VK_ENTER) {
					evt.consume();
					okCallback();

				}
				else if (evt.getKeyCode() == KeyEvent.VK_ESCAPE) {
					evt.consume();
					close();
				}
			}
		});

		actionList.addMouseListener(new GMouseListenerAdapter() {
			@Override
			public void doubleClickTriggered(MouseEvent e) {
				maybeDoAction();
			}
		});

		actionList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
		actionList.setVisibleRowCount(5);
		actionList.getAccessibleContext().setAccessibleName("Action");
		JScrollPane listScrollPane = new JScrollPane(actionList);
		listScrollPane.getAccessibleContext().setAccessibleName("Action List");
		innerPanel.add(listScrollPane, BorderLayout.CENTER);

		mainPanel.add(panel, BorderLayout.NORTH);
		mainPanel.add(innerPanel, BorderLayout.CENTER);
		mainPanel.getAccessibleContext().setAccessibleName("Multi Action");
		return mainPanel;
	}
Constructor
@param keystrokeName keystroke name
@param actions list of actions
@param context the context
Ghidra/Framework/Docking/src/main/java/docking/MultiActionDialog.java